(Deprecated) How to read GST error response
Last updated
Last updated
ClearTax Error response will always tell you 2 things:
What is the error?
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
The error_sources
object will direct you to the specific field in which the error was found.