Errors
Bespot API uses HTTP status codes to communicate errors. A code
, detail
, error_id
JSON structure is used. See below.
404 Not Found
{
"detail": "Store with this store_code not found.",
"code": "store_code_not_found",
"error_id": "2ac759de3d9b62d4"
}
401 Unauthorized
{
"detail": "Invalid username/password.",
"code": "authentication_failed",
"error_id": "6ebbc397d56be8e3"
}