25004: The provided user's external ID is invalid
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.
- The
externalIdvalue is shorter than 2 characters. - The
externalIdvalue is longer than 255 characters. - Your SCIM client or identity provider sent an
externalIdvalue in the user payload that falls outside the supported length range.
- Set
externalIdto 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/Usersand confirm that theexternalIdfield contains a valid value before you submit it. - If you provision users through an identity provider, review the attribute it sends for
externalIdand update the mapping so synced values stay within the supported length range.