Image
main

Error codes and descriptions

Response may vary depending on the API

  • HTTP Status Code: 400 Bad Request

    "statusCode": 400, 
    "exceptionCode": "BAD_REQUEST", 
    "message": "Only active card can be blocked." 

    Description: 
    The request is not valid. The request body cannot be parsed, the parameters do not pass validation, or the requested operation is not allowed for the current state of the resource.

  • HTTP Status Code: 401 Unauthorized

    "statusCode": 401, 
    "exceptionCode": "UNAUTHORIZED", 
    "message": "Unauthorized. Access token is missing or invalid."


    Description: 
    Authentication failed. The access token is missing, expired, or invalid.

  • HTTP Status Code: 403 Forbidden

    "statusCode": 403,
    "exceptionCode": "FORBIDDEN_ACCESS",
    "message": "Access to requested resource is forbidden."

    Description:
    The authenticated client does not have sufficient permissions to access the requested resource or perform the operation.

  • HTTP Status Code: 404 Not Found

    "statusCode": 404, 
    "exceptionCode": "NOT_FOUND", 
    "message": "Requested card does not exist"

    Description: 
    Returned when the requested resource could not be found.

  • HTTP Status Code: 406 Not Acceptable

    Response:
    No response body.

    Description:
    The server cannot produce a response matching the Accept header sent in the request.

  • HTTP Status Code: 415 Unsupported Media Type

    "statusCode": 415,
    "exceptionCode": "UNSUPPORTED_MEDIA_TYPE",
    "message": "Unsupported Media Type."

    Description:
    The Content-Type header in the request is not supported.

  • HTTP Status Code: 429 Too Many Requests

    "statusCode": 429,
    "message": "Too Many Requests."

    Description:
    The request has been rate-limited.

  • HTTP Status Code: 500 Internal Server Error

    "statusCode": 500,
    "exceptionCode": "GENERAL",
    "message": "Something went wrong, please try again later." 

    Description:
    An unexpected error occurred on the server. 

  • HTTP Status Code: 502 Bad Gateway

    Response:
    No response body.

    Description:
    The server received an invalid response from an upstream service.

  • HTTP Status Code: 503 Service Unavailable

    Response:
    No response body.

    Description:
    The service is temporarily unavailable.