BizKitHub
INTERNAL_FIO_API_UNAVAILABLE

Fio API is temporarily unavailable.

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

Nazwy i opisy kodów prowadzimy po angielsku.

HTTP 502Platforma
The upstream Fio bank API did not return a parseable response within the timeout window. The most common causes are scheduled Fio maintenance, a token that was just rotated, or a brief network glitch between Vercel and Fio. The raw response body is appended to the error message for debugging.

Jak to rozwiązać

  1. 1

    Retry the cron job in the next tick — transient Fio outages typically resolve within minutes.

  2. 2

    Confirm the Fio API token configured in `shop__bank` is still valid (Fio sometimes invalidates tokens after a long idle period).

  3. 3

    Check Fio status page if the failure persists for more than 15 minutes.

Przykładowa odpowiedź

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

application/json
{
  "state": "error",
  "code": 502,
  "message": "Fio API is temporarily unavailable.",
  "errorCode": "INTERNAL_FIO_API_UNAVAILABLE",
  "hint": "The upstream Fio bank API did not return a parseable response within the timeout window. The most common causes are scheduled Fio maintenance, a token that was just rotated, or a brief network glitch between Vercel and Fio. The raw response body is appended to the error message for debugging.",
  "documentationUrl": "https://docs.bizkithub.com/errors/INTERNAL_FIO_API_UNAVAILABLE"
}
Dokumentacja referencyjna:Kody błędów API|Platforma|HTTP 502