Skip to main content

I'm trying to run the php demo and getting this error:

Test 1: authData.php Exception: Undefined variable: argv #0 /home/RingCentral/demo/authData.php(7): {closure}(8, 'Undefined varia...', '/home/R...', 7, Array) #1 /home/RingCentral/index.php(7): require('/home/R...') #2 {main}

I'm not sure what I'm doing..... Any help is appreciated.....


I think i'm missing the appKey, appSecret, and server....

Where do I get those?

Hello Thomas,

The server, appKey, and appSecret values can be obtained from the Developer Portal (https://developer.ringcentral.com) and then by viewing the specific application you've defined in the "My Apps" navigation element, you can collect these values from either the app's Dashboard section or from the "Credentials" section.

Please keep in mind that the server value and API keys (appKey and appSecret) will change once your application has applied for and been approved for production access).

I've provided a screenshot with the highlighted areas within the view for an application you'll use to obtain these values...



After you create an Application in your Sandbox environment in your developer portal, you can get all it's information like ppKey, appSecret, and server details, url, phone no etc under dashboard section and credential section of the App already mentioned above.


Reply