24000: Validation error
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.
- One or more required fields are missing from the request body (for example,
displayNameortypewhen 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 apointerfield (for example,#/displayName) indicating exactly which field failed and adetailfield 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
maxItemsconstraint. For strings, checkminLengthandmaxLengthconstraints. - Fix all reported errors before retrying — the response reports every failure in one pass.