# Errors

Mav answers with a standard HTTP status and, in most cases, an `errors` list saying what went wrong.

- **400 Bad Request**: A required parameter is missing, or the body isn’t valid JSON. Bad JSON answers with an `error` string instead of an `errors` list. Example: `{"errors":["param is missing or the value is empty or invalid: phone"]}`
- **403 Forbidden**: The API key is missing or wrong, or your account isn’t on the current Mav app yet (`Account is not enabled for Next.`). Example: `{"errors":["API key is not authorized."]}`
- **404 Not Found**: The contact, agent, conversion or webhook isn’t in your account. Lookups by ID answer with a `message` instead of an `errors` list. Example: `{"errors":["Contact not found."]}`
- **422 Unprocessable Content**: Mav couldn’t do what you asked, like a negative `custom_value`, a new conversation for a contact who opted out, or a webhook URL that isn’t https. Example: `{"errors":["Custom value must be greater than or equal to 0"]}`
