Errors

  • 400 Bad Request: Invalid request data.
  • 401 Unauthorized: Missing or invalid API key.
  • 404 Not Found: User not found.
  • 500 Internal Server Error: Unexpected server error.

404 Not Found:

Occurs when the server cannot find the requested client or resource. This indicates that the specific endpoint or client identifier does not exist or is currently unavailable. Here are some possible causes and solutions:

 
{
    "statusCode": 404,
    "message": "Client not found.",
    "error": "Not Found"
}


400 Bad Request:

Indicates that the server was unable to process the request due to a client error. This means that the request sent to the server is malformed, invalid, or cannot be understood. The error may be caused by a problem with the request syntax, incorrect parameters, or incomplete data.


{
    "statusCode": 400,
    "message": [
        "transactionType must be one of the following values: deposit, withdraw"
    ],
    "error": "Bad Request"
}