# (Deprecated) How to read GST error response

ClearTax Error response will always tell you 2 things:

1. What is the error?
2. Where is the error?

You can get this error responce with different HTTP status code based on the API you are consuming. Example: You can get it with `400` Bad Request or with `200` OK

The `errors`object under `errorResponse`will always have the list of errors found in your payload. The `message` will explain what the error is and it's always paired with the `error_id`

![Error response](https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ9fXxeBEm3pJiVldcu%2F-M7lNGj3VpG9KFjyuZVL%2F-M7lPaeGGQqJ0h6h0saa%2Fimage.png?alt=media\&token=b6ae5b25-4389-41ae-90c9-45bbb8eabdc7)

The `error_sources` object will direct you to the specific field in which the error was found.

![](https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ9fXxeBEm3pJiVldcu%2F-M7lNGj3VpG9KFjyuZVL%2F-M7lQjRzTu8CNHhkcJ_L%2Fimage.png?alt=media\&token=0aec3c08-d1d7-4bb0-b1db-71158bb3b520)
