BizKitHub
INTERNAL_VALIDATION_FAILED

Request payload failed validation.

Aus BizKitHub Docs, der Referenz der API-Fehlercodes

Titel und Beschreibungen der Codes pflegen wir auf Englisch.

HTTP 400Plattform
The server-side validator rejected a field value that the typed body schema could not catch (format, length, cross-field consistency, multi-tenant ownership, etc.). The offending field and constraint should be passed as parametric context — e.g. `throw ApiError("INTERNAL_VALIDATION_FAILED", 'reserveFrom must be a relative-time string')`.

So beheben Sie es

  1. 1

    Re-read the field requirements in the relevant Swagger description.

  2. 2

    For relative-time fields use the format `1d`, `2h`, `30m`, `15m`, etc. (max 8 chars).

  3. 3

    For ids verify the referenced record exists and belongs to your organisation.

Beispielantwort

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

application/json
{
  "state": "error",
  "code": 400,
  "message": "Request payload failed validation.",
  "errorCode": "INTERNAL_VALIDATION_FAILED",
  "hint": "The server-side validator rejected a field value that the typed body schema could not catch (format, length, cross-field consistency, multi-tenant ownership, etc.). The offending field and constraint should be passed as parametric context — e.g. `throw ApiError(\"INTERNAL_VALIDATION_FAILED\", 'reserveFrom must be a relative-time string')`.",
  "documentationUrl": "https://docs.bizkithub.com/errors/INTERNAL_VALIDATION_FAILED"
}