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

  • 1
  • Problem
  • Updated 2 years ago
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.
Photo of Deep Patel

Deep Patel

  • 70 Points

Posted 2 years ago

  • 1
Photo of AK

AK, Official Rep

  • 4,402 Points 4k badge 2x thumb
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 )