Error handling

Each submission will return a response to indicate the result of the submission

 

2xx - Submission successful

400 - The submission is invalid. The response message will contain a payload explaining why the submission has failed and what field. This message should be exposed to your user.

401 - No credentials

403 -  Bad credentials

404 - Url or end point not found

415 - Disallowed method

5xx - Server error.