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

# Errors

WemX follows standard HTTP response code to indicate success or failures.

### HTTP Codes:

* Codes in range `2xx` indicate a successful response
* Codes in range `4xx` indicate invalid, incorrect or incomplete parameters, permission errors or authentication errors.
* Codes in range `5xx` indicate server side errors

WemX always responds with a `success` parameter to determine if the response was a success. If the response is false, an additional `errors` parameter is passed with an array of errors giving a more detailed error as to what went wrong.

```json
{
    "success": false,
    "errors": [
        "Username is already taken"
    ]
}
```
