Skip to main content
Question

Please Help me to fix the bug

  • August 31, 2016
  • 3 replies
  • 872 views

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
  • August 31, 2016
Please provide which product/integration you are using?  Also - we are moving this thread to the Developer's Community. 

  • Author
  • New Participant
  • August 31, 2016
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

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.