I'm just trying to do this:
require('../vendor/autoload.php'); $sdk = new RingCentralSDKSDK('******', '*******', RingCentralSDKSDK::SERVER_SANDBOX); $sdk->platform()->login('16079303113', '', '********');
But am getting this error:
Fatal error: Uncaught Exception: Response has unsuccessful status in /var/www/html/vendor/ringcentral/ringcentral-php/src/Http/Client.php:43 Stack trace: #0 /var/www/html/vendor/ringcentral/ringcentral-php/src/Platform/Platform.php(276): RingCentralSDKHttpClient->send(Object(GuzzleHttpPsr7Request)) #1 /var/www/html/vendor/ringcentral/ringcentral-php/src/Platform/Platform.php(363): RingCentralSDKPlatformPlatform->sendRequest(Object(GuzzleHttpPsr7Request), Array) #2 /var/www/html/vendor/ringcentral/ringcentral-php/src/Platform/Platform.php(183): RingCentralSDKPlatformPlatform->requestToken('/restapi/oauth/...', Array) #3 /var/www/html/ajax/fax_prescriptions.php(7): RingCentralSDKPlatformPlatform->login(Array, '', '******') #4 {main} Next RingCentralSDKHttpApiException: Invalid resource owner credentials in /var/www/html/vendor/ringcentral/ringcentral-php/src/Http/Client.php:54 Stack trace: #0 /var/www/html/vendor/ringcentral/ringcentral-php/src/Platform/Platform.php(276): RingCentralSDKHttpClient->s in /var/www/html/vendor/ringcentral/ringcentral-php/src/Http/Client.php on line 54
I have double and triple checked the password.