> ## Documentation Index
> Fetch the complete documentation index at: https://docs.debt-wise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

> HTTP status codes returned by the DebtWise API and the shape of the error object.

DebtWise follows HTTP response codes to indicate success or failure of an API request.

| Code | Title         | Explanation                                              |
| ---- | ------------- | -------------------------------------------------------- |
| 200  | OK            | Everything worked as expected                            |
| 201  | Created       | A new resource was created successfully.                 |
| 204  | No Content    | The request was successful, but the resource is deleted. |
| 400  | Bad Request   | The request cannot be processed due to client errors.    |
| 401  | Unauthorized  | No valid token provided.                                 |
| 403  | Forbidden     | Your account is blocked by an administrator.             |
| 404  | Not Found     | The resource does not exist.                             |
| 422  | Unprocessable | The request is accepted, but contains validation errors. |
| 5..  | Server Errors | An error occurred on DebtWise side.                      |

## Error object

When something goes wrong, an error object will be returned. Each error object consists of:

| Name      | Explanation                                          |
| --------- | ---------------------------------------------------- |
| `code`    | an application specific unique code                  |
| `message` | a detailed human-readable explanation of the problem |
