Skip to main content
The First Step
Aug 31, 2016 6:27 PM UTC
Question

Please Help me to fix the bug

Test 1: authData.php Auth exception: Refresh token has expired Exception: curl_close(): 57 is not a valid cURL handle resource SDK HTTP Error at _https://platform.devtest.ringcentral.com/restapi/oauth/token Response text: Previous: curl_close(): 57 is not a valid cURL handle resource #0 phar:///home/tamilwjv/public_html/demo/ring/ringapi/ringcentral.phar/ringcentral/ringcentral-php/src/Platform/Platform.php(214): RingCentralSDKHttpClient->send(Object(RingCentralPsr7Request)) #1 phar:///home/tamilwjv/public_html/demo/ring/ringapi/ringcentral.phar/ringcentral/ringcentral-php/src/Platform/Platform.php(301): RingCentralSDKPlatformPlatform->sendRequest(Object(RingCentralPsr7Request), Array) #2 phar:///home/tamilwjv/public_html/demo/ring/ringapi/ringcentral.phar/ringcentral/ringcentral-php/src/Platform/Platform.php(123): RingCentralSDKPlatformPlatform->requestToken('/restapi/oauth/...', Array) #3 /home/tamilwjv/public_html/demo/ring/ringapi/demo/authData.php(43): RingCentralSDKPlatformPlatform-

3 replies

Employee
Aug 31, 2016 6:52 PM UTC
Please provide which product/integration you are using?  Also - we are moving this thread to the Developer's Community. 
sangeethaThe First StepAuthor
The First Step
Aug 31, 2016 7:13 PM UTC
I'm using this for onbizlist.I'm beginner for the ringcentral sdk library.I just use the php library i run the demo file i got this error so i cant ableto move further.please help me to proceed further
Found Your Voice
Sep 1, 2016 6:28 PM UTC
It appears that your development server does not match the requirements of use for the PHP SDK. These are currently listed as:
  • PHP 5.5+
  • CURL extension
  • MCrypt extension
Could you provide the versions for each of these from your system (as well as the OS installed with version) so we can eliminate this as a possibility for the issue.