Errors
Errors are returned in this format:
{
"detail": "[74132A13AB1A] Resource not found.",
"code": "1003",
"path": "/esbo/api/v1/private/agent/sales-cards/7",
"timestamp": "2026-12-01 12:00:10",
"traceId": "74132a13ab1a4e9db473763b11639bf9"
}
| Field | Meaning |
|---|---|
detail | Error text in the language from the Accept-Language header. Starts with a short request identifier in square brackets |
code | Error code |
path | Request path on the server |
timestamp | Response time |
traceId | Request identifier — include it when contacting support |
Rely on the HTTP status and the numeric code, not on the detail text.
Error codes
| Code | HTTP | Description | Solution |
|---|---|---|---|
1007 | 400 | Invalid request format: a required field is missing, wrong type or value. For login — email or password is empty | Fix the request |
1006 | 400 | The request fails validation: no such seat, an extra or missing sessionId, an invalid rowId | Fix the request |
1004 | 401 | Token not provided | Pass Authorization: Bearer <accessToken> |
1003 | 404 | The card, session or order was not found or is not available to your account | Check the ID, refresh the catalog |
1008 | 409 | When adding order items: the seat is taken, not enough places in the sector. When creating, validating and confirming an order: the card or prices were updated, the order lifetime expired, visitor data is not filled, the order amount is 0 | Re-read the map or the order; offer another seat or build a new order |
1001 | 5xx | Failure on the ESBO side | See "Retries after a failure" |
Determine the cause of a 409 by the method that returned it and by GET /orders/{orderId} (status, expiresAt).
HTTP statuses
| Status | Meaning |
|---|---|
400 | Bad request — check the request body and code. For login without code: wrong email or password; for refresh-token: the token has expired or is invalid — log in again |
401 | Unauthorized. Without a token — JSON with code 1004; with an expired or invalid token — an empty body, the reason is in the WWW-Authenticate header. Refresh the token via refresh-token |
403 | The account has no agent sales permission — contact the ESBO team |
404 | The resource was not found or is not available to your account |
409 | State conflict — see code 1008 |
429 | Login from the IP address is blocked after 5 failed attempts — retry after the time in Retry-After |
500 | Internal server error — retry according to the rules below; if it repeats, contact support with the traceId |
Retries after a failure
| Request | What to do after a 5xx or a timeout |
|---|---|
Any GET | Retry after a pause |
POST /orders | Find the order in GET /orders or create a new one — an empty order will expire on its own |
| Order items, benefits, data | Check the order via GET /orders/{orderId}, then retry if needed |
confirm | Retry with the same orderId and the same Idempotency-Key |