Skip to content
Billzova Developers

Help

Error codes

Every error has the same shape. Branch on code, which never changes; the message may be reworded.

Error body
{
  "error": {
    "code": "CLOSED",
    "message": "The restaurant is closed now.",
    "opensAt": "2026-10-24T05:30:00.000Z",
    "docUrl": "https://developers.billzova.com/reference/errors#CLOSED",
    "requestId": "req_8f2cQ1x7a"
  }
}

Writing to support? Include the requestId (also in the X-Request-Id header). It finds the exact request.

All error codes
CodeHTTPMeaning
UNAUTHENTICATED401Missing or malformed API key. Send it as Authorization: Bearer bz_live_sk_….
KEY_REVOKED401The key was revoked. Create a new key in the dashboard.
IP_NOT_ALLOWED403The key is locked to other IP addresses.
SCOPE_MISSING403The key is not allowed to do that.
RATE_LIMITED429Too many requests — wait for Retry-After seconds.
RESTAURANT_UNAVAILABLE403The restaurant cannot take orders or bookings (subscription or account).
ORDERING_OFF403Online ordering is switched off.
CLOSED409The restaurant is closed now. opensAt says when it opens.
NOT_ACCEPTING409No staff device is online to take the order.
ORDER_TYPE_NOT_ALLOWED422Pickup or delivery is not enabled.
OUT_OF_AREA422The pincode is outside the delivery area.
BELOW_MINIMUM422Below the minimum order amount (minimum in the error).
ITEM_NOT_FOUND422A menu item does not exist (or belongs to another restaurant).
ITEM_UNAVAILABLE422A menu item or add-on is sold out / switched off.
ADDON_INVALID422Wrong add-on for the item, a duplicate, or above the group maximum.
PRICE_CHANGED409The total changed since the quote — the new quote is in the error.
PAYMENT_MODE_NOT_ALLOWED422That payment mode is not allowed for this order type / restaurant.
IDEMPOTENCY_KEY_REQUIRED400Send an Idempotency-Key header with every create.
IDEMPOTENCY_KEY_REUSED422The same Idempotency-Key was used with a different body.
IDEMPOTENCY_IN_PROGRESS409The first request with this Idempotency-Key is still running. Retry the same request in a second or two.
API_VERSION_UNKNOWN400The Billzova-Version header names a version that does not exist. Leave it out to use your key’s version.
CANNOT_CANCEL409Too late to cancel.
BOOKINGS_OFF403Table booking is switched off.
SLOT_UNAVAILABLE409That time is not available — available lists the free times.
PARTY_TOO_LARGE422More guests than an online booking allows.
PAYLOAD_TOO_LARGE413The request body is larger than 100 kb. Carts and bookings are far smaller — check you are not sending files or base64 images.
VALIDATION_FAILED422The body is invalid — field says where.
NOT_FOUND404Not found (or not visible to this key).
INTERNAL500Our side. Logged with the requestId — retry later or contact support.