What is a bad request?


Bad request error is returned when the request can not be processed due to one or more of the reasons given below. The HTTP status for a bad request is 400. Code will indicate the nature of error.

  • Mandatory fields are missing in the request.
  • One or more fields are in incorrect formats.
  • A mandatory step in the flow has been skipped.


How do I resolve a bad request?


Bad request responses originating from the Gridlines system contain information about the cause. Check the "code" and "message" fields in the response body. Message gives clear information about the kind of error and the field that has to be corrected.


The complete list of Bad request scenarios can be found in the documentation for all APIs. To find generic bad request codes, please check here.