Error Codes
Common API error codes.
Business Hub Errors
| Code | HTTP | Meaning |
|---|---|---|
| TBH_API_KEY_MISSING | 401 | API key was not supplied. |
| TBH_API_KEY_INVALID | 401 | API key is invalid or revoked. |
| TBH_TENANT_INACTIVE | 403 | Tenant is inactive or suspended. |
| TBH_SERVICE_ACCESS_DISABLED | 403 | Tenant or API key scope cannot access the service. |
| TBH_PRICE_KEY_NOT_CONFIGURED | 422 | The endpoint is not available for your tenant. |
| TBH_PRICE_KEY_INACTIVE | 422 | The endpoint is currently unavailable for your tenant. |
| TBH_WALLET_INSUFFICIENT_BALANCE | 422 | Your tenant balance is not enough for the request. |
| TBH_RATE_LIMIT_EXCEEDED | 429 | Too many requests. Retry later. |
| TBH_PROVIDER_ERROR | 502 | The upstream service returned an error. |
| TBH_PROVIDER_TIMEOUT | 504 | The upstream service timed out. |