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

25004: The provided user's external ID is invalid


ERROR: 25004

error-25004 page anchor
ERROR

This error occurs when you send a SCIM request to manage an organization user and the externalId value does not meet the allowed length requirements. Twilio accepts externalId as part of the SCIM user payload for managed user operations.

Possible causes

possible-causes page anchor
  • The externalId value is shorter than 2 characters.
  • The externalId value is longer than 255 characters.
  • Your SCIM client or identity provider sent an externalId value in the user payload that falls outside the supported length range.
  • Set externalId to a value that is between 2 and 255 characters long, then retry the request.
  • Review the SCIM request body you send to POST /scim/v2/Users and confirm that the externalId field contains a valid value before you submit it.
  • If you provision users through an identity provider, review the attribute it sends for externalId and update the mapping so synced values stay within the supported length range.

Additional resources

additional-resources page anchor