Error Messages

There are majorly three types of error responses that you can get on execution of our Open APIs relating to:

Invalid Head Parameters

This error pertains to a request where the passed head parameters are invalid, usually a type of authentication error, where the identity of the client cannot be verified and hence the execution of the API is not possible even after correct body parameters.

Failure Response

	{
  "head": {
    "responseCode": "IIFLMarRQNPNWV1",
    "status": "2",
    "statusDescription": "Invalid head parameters."
  },
  "body": null
}	

Invalid Input Parameters

This error pertains to a request where the passed body parameters are invalid or not according to the defined data type and hence the API cannot execute correctly and hence shows failure.

Failure Response

	{
  "head": {
    "responseCode": "IIFLMarRQNPNWV1",
    "status": "0",
    "statusDescription": "Success"
  },
  "body": {
    "Message": "Invalid Input Parameters.",
    "Status": 2
  }
}	

Invalid Session

This error pertains to a request which is made after a session is timed out due to the timing restraint applied on the API execution to keep a valid session going on till a maximum of 30 minutes idle time.

Failure Response

	{
  "head": {
    "responseCode": "IIFLMarRQNPNWV1",
    "status": "0",
    "statusDescription": "Invalid Session"
  },
  "body": {
    "CacheTime": 0,
    "Data": [],
    "Message": "Invalid Session",
    "Status": 9
  }
}