LeadsAgent/ Documentation
Connectors
OverviewQuickstartAuthenticationAPI referenceMCPConnect ChatGPTConnect ClaudeCredits & limitsErrors & retriesConnect OpenCodeConnect Claude CodeConnect CodexConnect CursorConnect VS CodeConnect AntigravityConnect n8nAPI, MCP & plugins

Errors & retries

Error codes, retries and idempotency.

Set up with your AI assistant

Paste the prompt into Claude Code. It includes setup steps and a read-only connection check.

Error shape

Error
{
  "request_id": "…",
  "status": "error",
  "data": null,
  "error": {
    "code": "task_busy",
    "message": "The task is still working…",
    "retryable": true
  }
}
HTTPCodesWhat to do
401invalid_key, invalid_token, connection_revokedReplace the key or reconnect the app.
403insufficient_scope, key_budget_exceededUse the required permission or lower the task’s credit budget to the key cap.
409task_busy, answers_required, results_not_readyCheck the task, then act on its status.
409idempotency_conflictUse a new key for a different job.
422invalid_input, invalid_fields, invalid_cursorFix the request.
429rate_limited, key_rate_limited, agent_busy, message_limit_reachedWait and retry (Retry-After).
503agent_unavailable, submissions_disabledRetry with backoff.

Retries

Send an idempotency_key with POST /tasks and reuse it on retry: you get the same task back instead of a second one. Retry only errors marked retryable, with backoff.

Agent documentation indexOpenAPI JSONMarkdown quickstart