question

deep-patel3006 avatar image
deep-patel3006 asked ak answered

curl_close(): 212 is not a valid cURL handle resource

I am using RingCentral SDK for PHP with Laravel 5.2.

I was trying out the Authentication Code as mentioned on the Github page of the plugin. However, when I try the login function, I get the following error:


ApiException in Client.php line 44:curl_close(): 212 is not a valid cURL handle resource.


My App is configured for Server/Web.

sdk
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

ak avatar image
ak answered
Hi Deep,

The issue could be due to your cURL SSL Certificate path. If you are using the SSL Certificates, please make sure to provide the path to the .pem file within your Code(SDK) or the php.ini file. 

For more information please take a look at this resource :
Resolve the SSL CA certificate Path ( RingCentral-PHP )
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys