25020: Version conflict in SCIM header
ERROR
This error occurs when the SCIM version value you send in the request headers does not match the current version of the target SCIM resource. Twilio rejects the request to prevent you from overwriting a user or other SCIM entity with a stale version.
- Your request includes a version or concurrency header value that was copied from an older version of the SCIM resource.
- The SCIM resource was updated after you last retrieved it.
- Multiple clients or processes attempted to update the same SCIM resource at nearly the same time.
- Your application is reusing cached SCIM resource metadata instead of fetching the latest version before sending an update.
- Your request manually sets a version-related header incorrectly.
- Retrieve the latest version of the SCIM resource before sending your update, then retry the request using the current version information.
- Make sure your application does not use stale cached data when updating SCIM users or other SCIM objects.
- If multiple systems can update the same resource, add retry logic that fetches the latest entity and reapplies your changes before sending another request.
- Remove manually set version headers unless your integration specifically requires them and you are sure the value is current.
- Review your SCIM integration to confirm that update requests follow your identity provider's expected concurrency and synchronization behavior.