SCIM Resource not found

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

Exception: Resource not found SDK HTTP Error at Response text: { "errorCode" : "AGW-404", "message" : "Resource not found", "errors" : [ ] }!#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

  • 340 Points 250 badge 2x thumb

Posted 8 months ago

  • 1
Photo of Phong Vu

Phong Vu, Devangelist

  • 5,426 Points 5k 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