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

24000: Validation error


ERROR: 24000

error-24000 page anchor
AUDIENCES
ERROR

The request body or parameters failed schema validation. The response includes an errors[] array with one entry per invalid field, each containing a JSON Pointer to the location of the error and a human-readable explanation.

Possible causes

possible-causes page anchor
  • One or more required fields are missing from the request body (for example, displayName or type when creating an audience).
  • A field value does not match the expected type (for example, sending a string where an integer is required).
  • An array field exceeds the maximum allowed items, or a string field violates length constraints.
  • Multiple fields are invalid simultaneously — all failures are reported in a single response.
  • Inspect the errors[] array in the response. Each entry has a pointer field (for example, #/displayName) indicating exactly which field failed and a detail field explaining why.
  • Verify your request body against the OpenAPI specification for the endpoint you are calling. All required fields and their types are documented there.
  • For array fields, check the maxItems constraint. For strings, check minLength and maxLength constraints.
  • Fix all reported errors before retrying — the response reports every failure in one pass.

Additional resources

additional-resources page anchor