# AvaTax error messages

Source: https://developer.avalara.com/vat-ecom/error-handling/avatax-error-messages/

We’ve designed the [AvaTax error messages](https://developer.avalara.com/avatax/errors/) to tell you what went wrong during an API call, what you can do about it, and how to proceed.

When an AvaTax API call produces an error, it responds using the standard [HTTP error response codes](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes). Response codes between 400 and 499 are called **Client Errors**, and they indicate a mistake in an API call. Response codes between 500 and 599 refer to internal errors within AvaTax itself. Each internal error is logged and reported to our development team for triage.

If your program gets an HTTP response code between 400 and 499, here’s how to proceed:

-   Parse the error message using a JSON parsing engine.

-   Display the summary of the error to the user.

-   Link the user to the documentation page that explains the error.

-   Allow the user edit their request, or retry their action.

For example, if an AvaTax API call fails to include authentication credentials, the user will see the error message [AuthenticationIncomplete](https://developer.avalara.com/avatax/errors/AuthenticationIncomplete).