Error Codes

If you hit an error, start with the recovery action rather than only the technical label. Public docs, frontend handling, and agent behavior should stay aligned with the exact error_code values returned by the current implementation.

Common public codes

Error codeMeaningRecommended action
INVALID_API_KEYThe API key is invalid or the current account cannot use itCheck account binding, key configuration, or regenerate credentials
INSUFFICIENT_CREDITThe request cannot continue because quota is insufficientReview quota status and the upgrade path
RATE_LIMITEDToo many requests were sent with the same API key in a short periodWait about one minute, reduce burst retries, and then try again
ASYNC_NOT_READYAn async task exists, but the result payload or export file is not ready yetRetry later, poll the task or export status, and read or download the result only after it becomes ready
SCOPE_REQUIREDThe account is real, but the required permission for this operation is missingCheck whether the current plan includes the needed capability or permission scope
INVALID_REQUESTThe request parameters, input shape, or object identifier are invalidTighten the request and re-check filters, platform values, or the creator_id
DUPLICATE_DATAThe same object already exists and should not be created twiceLook up the existing object, task, or monitor before trying again
INTERNAL_ERRORInternal system failurePreserve context and the request ID, then contact support

Usage principles

  • Explain recovery paths first instead of only repeating technical wording
  • Keep frontend, Agent, and website handling aligned with the exact current error codes
  • Use ASYNC_NOT_READY for async export or background-task reads that are still processing, instead of inventing a separate public label
  • If the current CLI already includes action.url or action.hint, reuse that next step instead of inventing a second flow
  • For CLI automation, use noxinfluencer agent exit-codes to map these server errors to stable process exit codes
  • Local commands such as doctor, schema, and agent exit-codes may not return the same API error envelope

Related diagnostics