Skip to main content

Why am I receiving a 400 error when trying to add a member via the Sentry SCIM API?

Issue

I am receiving the error HTTP 400: {'detail': '{"schemas":["This field is required."]}', 'schemas':['urn:ietf:params:scim:api:messages:2.0:Error']} when trying to add a member via the Senty SCIM API.

Applies To

  • Business and Enterprise customers with SAML2 enabled

Symptoms

  • I am receiving a 400 error but the "schemas" field is not specified in the docs

Resolution

This is a requirement of SCIM itself; adding 'schemas' ensures that the payload is processed correctly by the server according to the defined SCIM operation. You can see the required schemas in our SCIM API documentation.

For updating a team's attributes, the correct schema is "urn:ietf:params:scim"api:messages:2.0:PatchOp"

Did this answer your question?