BizKitHub
PUBLIC_CRON_PAYLOAD_TOO_LARGE

Cron payload is too large.

Z BizKitHub Docs, dokumentacja kodów błędów API

Nazwy i opisy kodów prowadzimy po angielsku.

HTTP 422Publiczne API
A log batch exceeds 100 entries. Oversized `meta`, `report` and log `context` (over 16 KB of JSON) are not rejected but stored as a truncation marker.

Jak to rozwiązać

  1. 1

    Send only the fields needed for diagnostics.

Przykładowa odpowiedź

API odpowiada statusem HTTP 422 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.

application/json
{
  "state": "error",
  "code": 422,
  "message": "Cron payload is too large.",
  "errorCode": "PUBLIC_CRON_PAYLOAD_TOO_LARGE",
  "hint": "A log batch exceeds 100 entries. Oversized `meta`, `report` and log `context` (over 16 KB of JSON) are not rejected but stored as a truncation marker.",
  "documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_CRON_PAYLOAD_TOO_LARGE"
}
Dokumentacja referencyjna:Kody błędów API|Publiczne API|HTTP 422