# Error codes

If an error occurs on Hub88 side, Hub88 will respond with an HTTP error code and a JSON object with a text message.&#x20;

{% code title="Error format: " %}

```json
{"error": <error description>}
```

{% endcode %}

Below is the list of error codes that can be returned by the Hub88 APIs:&#x20;

| HTTP Error Code | Description                                                                      |
| --------------- | -------------------------------------------------------------------------------- |
| 400             | Invalid or missing request parameters.                                           |
| 401             | Request signature is invalid. Signature header **x-hub88-signature** is missing. |
| 403             | The **currency, country or game** isn't enabled for the Operator.                |
| 404             | The **country, currency or game** requested doesn't exist.                       |
| 404             | The **operator\_id** doesn't correspond to any existing Operator.                |
| 404             | The resource requested wasn't found.                                             |
| 500             | Internal server error.                                                           |
