Skip to content

Error Codes

CoreClaw API uses HTTP status codes for the request layer and the response body code for the business layer.

code: 0 means the business operation succeeded. Non-zero values mean the request reached the service but the business operation failed. When troubleshooting, keep the HTTP status, code, message, and request_id together.

CodeKeyMessage
10000SYSTEM_ERRORinternal server error
11000INVALID_ARGUMENTinvalid argument
11004NOT_FOUNDnot found
12001UNAUTHORIZEDauthentication required
12002INVALID_TOKENinvalid token
13000RATE_LIMITEDtoo many requests
14000DATABASE_ERRORdatabase error
30001INSUFFICIENT_BALANCEaccount balance is insufficient
50001WORKER_NOT_FOUNDworker does not exist
50002WORKER_RUN_FAILEDworker run failed
50003WORKER_VERSION_UNAVAILABLEthe worker version is not available
60001TASK_NOT_FOUNDtask does not exist
70001RUN_NOT_FOUNDrun record does not exist
70002RUN_FAILEDrun operation failed
16000NOT_IMPLEMENTEDnot implemented
  1. 12001 and 12002 usually require checking Bearer token, the api-key header, or query token.
  2. 13000 means the request is rate limited; reduce request frequency and retry with backoff.
  3. 30001 means the account balance is insufficient.
  4. 50001, 50003, 60001, and 70001 usually mean the Worker, task, version, or run ID does not exist or is unavailable.
  5. 10000, 14000, and 16000 indicate server-side or capability-state issues. Keep request_id for troubleshooting.