Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

25006: The SCIM schema syntax is invalid


ERROR: 25006

error-25006 page anchor
ERROR

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

possible-causes page anchor
  • 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.
  • 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

additional-resources page anchor