HTTP Return Codes

  • HTTP 4XX return codes are used for for malformed requests; the issue is on the sender's side.

  • HTTP 401 return code is used when user is unauthorized

  • HTTP 429 return code is used when breaking a request rate limit

  • HTTP 5XX return codes are used for internal errors; the issue is on Dexilon's side.

    1. If there is an error message "Request occur unknown error.", please retry later.

  • HTTP 503 return code is used when:

    1. If there is an error message "Unknown error, please check your request or try again later." returned in the response, the API successfully sent the request but not get a response within the timeout period. It is important to NOT treat this as a failure operation; the execution status is UNKNOWN and could have been a success;

    2. If there is an error message "Service Unavailable." returned in the response, it means this is a failure API operation and the service might be unavailable at the moment, you need to retry later.

    3. If there is an error message "Internal error; unable to process your request. Please try again." returned in the response, it means this is a failure API operation and you can resend your request if you need.

Last updated