# Errors

Errors can be seen in the following formats with the 400 HTTP status code:

### Public key error

```json
{
    "status": "error",
    "message": "public key is required",
    "data": null
}
```

### Authorisation error

```json
{
    "status": "error",
    "message": "Authorization required",
    "data": null
}
```

### Bad request error

```json
{
    "status": "Bad Request",
    "message": "Bad Request"
}
```
