BizKitHub
INTERNAL_FIO_API_UNAVAILABLE

Fio API is temporarily unavailable.

HTTP 502Platform
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.

How to resolve

  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.

Example response

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

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