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

  • 409 Conflict

  • 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.