SCIM Resource not found

  • 1
  • Question
  • Updated 2 weeks ago
  • (Edited)
I'm trying to retrieve user list but it gives me following error. 

Exception: Resource not found SDK HTTP Error at https://platform.devtest.ringcentral.com/restapi/v1.0/scim/v2/Users Response text: { "errorCode" : "AGW-404", "message" : "Resource not found", "errors" : [ ] }
https://developer.ringcentral.com/api-docs/latest/index.html#!#RefScimUserList.html




$rcsdk = new SDK($credentials['clientId'], $credentials['clientSecret'], $credentials['server'], 'Demo', '1.0.0');
$platform = $rcsdk->platform();
$platform->login($credentials['username'], $credentials['extension'], $credentials['password']);
$response = $platform->get('/scim/v2/Users')->json()->records;

Photo of Nibu Eapen

Nibu Eapen

  • 280 Points 250 badge 2x thumb

Posted 2 weeks ago

  • 1
Photo of Phong Vu

Phong Vu, Devangelist

  • 2,916 Points 2k badge 2x thumb
Hi Nibu,

Unfortunately, our SDK does not support yet API v2. Thus you cannot access that endpoint using the SDK. Use curl request instead.

+ Phong