25008: The requested SCIM user was not found
ERROR
This error occurs when your SCIM request references a user that Twilio can't find. The SCIM API retrieves users by Twilio User SID, and SCIM endpoints support organization-managed users only.
- The
idin your SCIM request does not match an existing Twilio User SID. Twilio returns a404 Not Foundresponse with code 25008 when the user is not found. - The user is not a managed user in your organization. SCIM endpoints are for organization-managed users only.
- The user may have been removed from your organization or deleted. If the user was removed, they are no longer organization-managed and can't be retrieved through SCIM. If the user was deleted, they no longer exist in Twilio's system.
- Verify that the
idyou send inGET /scim/v2/Users/{id}is the correct Twilio User SID for the user you want to retrieve. - If you do not know the user SID, use
GET /scim/v2/Usersand filter byuserNameorexternalIdwith theeqoperator. Then retry the request with theidreturned by the list response. - Confirm that the user belongs to your organization as a managed user. If the user is outside the organization, invite or import them into User management before you access them through SCIM.
- If the user was deleted, create or invite the user again so they exist as a managed user, then retry the SCIM request.