> For the complete documentation index, see [llms.txt](https://docs.submoney.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.submoney.co/welcome-to-submoney.co/api/errors.md).

# Errors

submoney.co API is RESTful and as such, uses conventional HTTP response codes to indicate the success or failure of requests. In addition to HTTP response codes we also return Application response codes that can indicate specific actions that were taken or not taken by ther service.

```markdown
| HTTP Response Codes  | Description              |
| -------------------- | ------------------------ |
| 200, 201, 204        | Request was successful.  |
|                      |                          |
| 400                  | Validation or client     |
|                      | side error occurred and  |
|                      | the request was not      |
|                      | fulfilled.               |
|                      |                          |
| 401                  | The request was not      |
|                      | authorized usually due   |
|                      | to incorrect or missing  |
|                      | authorization header.    |
|                      |                          |
| 404                  | Validation or client     |
|                      | side error occurred and  |
|                      | the request was not      |
|                      | fulfilled.               |
|                      |                          |
| 400                  | The request resource     |
|                      | does not exist.          |
|                      |                          |
| 500, 501, 502,       | The request failed due   |
| 503, 504             | to error on our end. We  |
|                      | don't expect this error  |
|                      | to occur but please      |
|                      | report anytime you       |
|                      | recieve this response.   |
```
