Clear Tax Error response will always tell you 2 things:
- What is the error?
- Where is the error?
You can get this error response with different HTTP status code based on the API you are using.
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

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

ClearTax Error messages:
- E-Way bill id in url did not match with payload id.
- Invalid GSTIN <GSTINNumberHere>, please provide a valid
<Seller/Receiver> GSTIN - Supplier GSTIN is different from the Account GSTIN.
- Customer Billing GSTIN is different from the Account GSTIN.
- Receiver GSTIN is mandatory for Deemed or SEZ export.
- Seller GSTIN is mandatory for Import from SEZ.
- Please add at least one line item in the invoice before saving