Skip to main content

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"
}
FieldMeaning
detailError text in the language from the Accept-Language header. Starts with a short request identifier in square brackets
codeError code
pathRequest path on the server
timestampResponse time
traceIdRequest identifier — include it when contacting support

Rely on the HTTP status and the numeric code, not on the detail text.

Error codes​

CodeHTTPDescriptionSolution
1007400Invalid request format: a required field is missing, wrong type or value. For login — email or password is emptyFix the request
1006400The request fails validation: no such seat, an extra or missing sessionId, an invalid rowIdFix the request
1004401Token not providedPass Authorization: Bearer <accessToken>
1003404The card, session or order was not found or is not available to your accountCheck the ID, refresh the catalog
1008409When 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 0Re-read the map or the order; offer another seat or build a new order
10015xxFailure on the ESBO sideSee "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​

StatusMeaning
400Bad 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
401Unauthorized. 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
403The account has no agent sales permission — contact the ESBO team
404The resource was not found or is not available to your account
409State conflict — see code 1008
429Login from the IP address is blocked after 5 failed attempts — retry after the time in Retry-After
500Internal server error — retry according to the rules below; if it repeats, contact support with the traceId

Retries after a failure​

RequestWhat to do after a 5xx or a timeout
Any GETRetry after a pause
POST /ordersFind the order in GET /orders or create a new one — an empty order will expire on its own
Order items, benefits, dataCheck the order via GET /orders/{orderId}, then retry if needed
confirmRetry with the same orderId and the same Idempotency-Key