PUBLIC_REQUEST_VALIDATION_FAILEDRequest does not match the endpoint schema.
HTTP 422Public API
The body, query or path parameters failed schema validation. The response lists the offending fields in `errors` (`path` + `message`) and the request part in `on` (`body`, `query`, `params`). The schema of every endpoint is in the Swagger documentation.
How to resolve
- 1
Send `Content-Type: application/json` with a JSON object body.
- 2
Omit optional fields or send `null` where the schema allows it.
Example response
The API answers with HTTP 422 and a JSON body. Match on errorCode, not on message: messages may be reworded, codes are stable.
application/json
{
"state": "error",
"code": 422,
"message": "Request does not match the endpoint schema.",
"errorCode": "PUBLIC_REQUEST_VALIDATION_FAILED",
"hint": "The body, query or path parameters failed schema validation. The response lists the offending fields in `errors` (`path` + `message`) and the request part in `on` (`body`, `query`, `params`). The schema of every endpoint is in the Swagger documentation.",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_REQUEST_VALIDATION_FAILED"
}