Skip to content

Troubleshooting

Unauthorized Access

If you receive a 403 status code or a response with {"detail": "Not authenticated"}, you'll need to include an X-API-Key header with your API key in your request. Recidizens may access one at go/resource-api-key

Bad Requests

Requests that do not match the expected format will return a 422 status code along with a message in the detail of the response body. For example:

Unexpected, or likely invalid address

{
  "detail": "The provided address could not be geocoded to a specific location: Lothlorien, the forest"
}

Missing a required field

{
  "detail": [
    {
      "type": "enum",
      "loc": [
        "body",
        "subcategory"
      ],
      "msg": "Input should be 'Emergency housing and shelters', ...
}