Skip to main content

Error Codes And Responses

Error Codes And Responses

 

Overview

In the event of an error, a response with one of the error status codes defined below. Additionally, the error response will always contain a JSON response body containing the detail field which will provide a more descriptive response of exactly what occurred.

 

Error Response Codes

Error Code Description Detail
400 Bad Request The request was missing a required or dependent query parameter.
401 Unauthorized The request was made with bad credentials.
403 Forbidden Forbidden
404 Not Found No location records were found for the given caller\_id.
405 Method Not Allowed The request was made with some HTTP method other than GET.
429 Too Many Requests Client has exceeded the number of allowed requests in a given time period.

 

Example Error 

Example error response body:

{
        detail: Not found.
    }

About us

We build APIs that share data with first responders to help protect lives.