Skip to content

List of Result Codes

After sending an API request, you will receive a response indicating the request processing status. Below is a classification of HTTP status codes and their corresponding handling methods:

2xx: Successful Request

Status codes in the 2xx range indicate that the request was received and successfully processed.

  • 200 OK: The request was successfully processed.
  • 201 Created: The request was successfully processed, and a new resource was created.
  • 204 No Content: The request was successful but returned no content.

4xx: Client-Side Errors

Status codes in the 4xx range indicate that there was an error in the request, typically due to invalid input from the client.

  • 400 Bad Request: The request is invalid or missing required information.
  • 401 Unauthorized: The request is not authenticated or has an invalid token.
  • 403 Forbidden: You do not have permission to access this resource.
  • 404 Not Found: The requested resource does not exist.
  • 429 Too Many Requests: Too many requests sent in a short period.

5xx: Server-Side Errors

Status codes in the 5xx range indicate errors occurring on the server or connection issues.

  • 500 Internal Server Error: A server-side error with no specific identified cause.
  • 502 Bad Gateway: The server received an invalid response from an upstream server.
  • 503 Service Unavailable: The server is under maintenance or overloaded.
  • 504 Gateway Timeout: The server did not receive a timely response from an upstream server.

Ensure to handle error codes appropriately in your application to provide the best user experience.