The configuration for each SCIM resource type contains a lookthrough-limit property that defines this limit, with a default value of 500. If a search request exceeds the lookthrough limit, the client receives a 400 response with an error message that resembles the following example.

{
  "detail": "The search request matched too many results",
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:Error"
  ],
  "scimType": "tooMany",
  "status": "400"
}
To avoid this error, you have these options:
  • The client must refine its search filter to return fewer matches.
  • Configure paged searches as explained in Using paged SCIM searches.