BizKitHub
PUBLIC_REQUEST_VALIDATION_FAILED

Request does not match the endpoint schema.

Aus BizKitHub Docs, der Referenz der API-Fehlercodes

Titel und Beschreibungen der Codes pflegen wir auf Englisch.

HTTP 422Öffentliche 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.

So beheben Sie es

  1. 1

    Send `Content-Type: application/json` with a JSON object body.

  2. 2

    Omit optional fields or send `null` where the schema allows it.

Beispielantwort

Die API antwortet mit HTTP 422 und einem JSON-Body. Vergleichen Sie errorCode, nicht message. Meldungen können umformuliert werden, Codes bleiben stabil.

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"
}