---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/25006#article
headline: "25006: The SCIM schema syntax is invalid"
url: https://www.twilio.com/docs/api/errors/25006
inLanguage: en
dateModified: 2026-06-09T11:00:42.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 25006: The SCIM schema syntax is invalid

Log Type: APPLICATION

Log Level: ERROR

## Description

Twilio could not process your SCIM request because the schema value is invalid. This error usually occurs when your request body uses an unsupported SCIM schema URN, includes a malformed schema entry, or does not match the expected SCIM format for the requested operation.

### Possible causes

* The request includes an invalid `schemas` value.
* The `schemas` array is missing from a SCIM request that requires it.
* The request uses a schema URN that does not match the SCIM resource or operation you are calling.
* The request body is malformed JSON, which prevents Twilio from parsing the schema correctly.
* The payload mixes attributes from different SCIM resource types in a way that does not match the declared schema.

### Possible solutions

* Verify that your request body is valid JSON and that the `schemas` field is formatted correctly.
* Confirm that each schema URN in the `schemas` array is complete, correctly spelled, and appropriate for the SCIM resource you are creating or updating.
* Make sure the schema you send matches the endpoint and operation you are using.
* Remove unsupported or incorrectly nested attributes from the payload.
* Validate your SCIM request against the SCIM 2.0 format you use in your identity provider before sending it to Twilio.
* If you are provisioning users or groups through Single Sign-On, review your SCIM configuration in your identity provider and update any custom mappings that send invalid schema values.

#### Additional resources

* [Identity and Access Management docs](/docs/iam)
* [Single Sign-On and user management overview](/docs/iam)
