BizKitHub
INTERNAL_VALIDATION_FAILED

Request payload failed validation.

HTTP 400Platform
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')`.

How to resolve

  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.

Example response

The API answers with HTTP 400 and a JSON body. Match on errorCode, not on message: messages may be reworded, codes are stable.

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