Error Responses

Non 200 OK HTTP Error responses will be structured as follows:

Field NameField TypeField Description
statusnumberMirrors the HTTP status code that appears in the response header. Note that this field will not be present if the error was generated by the API Gateway rather than SpotOn's code.
messagestringThe error message

Example Error Response:

{
    "status": 404,
    "message": "Location not found"
}