# 25008: The requested SCIM user was not found

Log Type: APPLICATION

Log Level: ERROR

## Description

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.

### Possible causes

* The `id` in your SCIM request does not match an existing Twilio User SID. Twilio returns a `404 Not Found` response 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.

### Possible solutions

* Verify that the `id` you send in `GET /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/Users` and filter by `userName` or `externalId` with the `eq` operator. Then retry the request with the `id` returned 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.

#### Additional resources

* [SCIM API overview](/docs/iam/scim)
* [SCIM API reference](/docs/iam/scim/api-reference)
* [Managed users](/docs/iam/organizations/managed-users)
