Every failed call returns ok = false with a stable English error.code and an Arabic error.message.
| Code | Meaning | Retry? |
|---|---|---|
not_connected | The server is not linked yet, or the handshake has not finished. | yes |
timeout | No answer within 10 seconds. | yes |
busy | More than 32 calls in flight at once on this server. | yes |
invalid_action | The action name is badly formed. | no |
bad_response | The answer was not JSON (proxy error or outage). | yes |
rate_limited | The server or your resource used up its limit. error.data.retry_after says how many seconds to wait. | yes |
fivem_unavailable | This server's plan does not allow any قطاع, so FiveM features are off. | no |
unknown_action | No action with that name for that method. | no |
method_not_available | Post, Put and Delete are reserved and not open yet. | no |
gateway_disabled | The server owner turned the developer API off. | no |
action_disabled | Your resource is not on the server's allowed-resources list. | no |
invalid_params | A parameter is missing or wrong. error.data.fields names them. | no |
faction_not_found | No قطاع is linked to that job on this server. | no |
member_not_found | That person is not a member of this server in OrcaBot. | no |
not_found | A referenced item (e.g. a leaderboard panel) does not exist here. | no |
server_error | Something went wrong on OrcaBot's side. | yes |