Errors

Error handling: troubleshooting declines, invalid data, network problems, and more.

Conventional HTTP response codes are used to indicate the success or failure of an API request.

Responses are grouped in five classes:

  • Informational responses (100 – 199)
  • Successful responses (200 – 299)
  • Redirection messages (300 – 399)
  • Client error responses (400 – 499)
  • Server error responses (500 – 599)

For our interactive API, these are the main HTTP response status codes:

  • 200 OK

  • 201 Created

  • 400 Bad Request

  • 401 Unauthorized

  • 500 Internal Server Error

  • 501 Not Implemented

  • 503 Service Unavailable

📘

503 is unlikely for DigiTax

We pride ourselves to provide 99.99% uptime!

Head over to MDN HTTP Status codes for details on the entire list of HTTP response status codes.