> For the complete documentation index, see [llms.txt](https://docs.madconnect.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.madconnect.ai/deployment-options/madconnect-apis/error-handling.md).

# Error Handling

### **Error Handling** <a href="#error-handling" id="error-handling"></a>

Errors follow standard HTTP status codes:

| Status Code | Type                    | Description                                |
| ----------- | ----------------------- | ------------------------------------------ |
| `400`       | `Bad Request`           | Invalid input / request                    |
| `401`       | `Unauthorized`          | Missing or invalid credentials             |
| `403`       | `Forbidden`             | Insufficient permissions / Session Expired |
| `404`       | `Not Found`             | Resource not found                         |
| `500`       | `Internal Server Error` | Server side error                          |

**Example Error Response:**

```
{
  "code" : 400
  "error": "Invalid request parameters"
}
```
