A catalogued Apollo API error returns an error_details object with a stable code in the form DOMAIN.CATEGORY.REASON. Branch your code on error_details.code. The message next to it explains the error in words that can change, so don't match on it. For the full shape of error_details, including suggestions and context, see Status Codes and Errors.
This page lists every code these docs describe, grouped by domain. Each endpoint's Response examples show the codes that endpoint returns.
| Code | HTTP status | Meaning |
|---|
ASSISTANT.AUTHORIZATION.AGENT_TASK_NOT_ACCESSIBLE | 403 | You do not have access to this agent task. |
ASSISTANT.INTERNAL.AGENT_TASK_INTERNAL_ERROR | 500 | The agent task request failed. Retry shortly. |
ASSISTANT.VALIDATION.AGENT_TASK_CURSOR_INVALID | 422 | cursor must be a non-negative integer. |
ASSISTANT.VALIDATION.AGENT_TASK_ID_REQUIRED | 422 | task_id is required. To start a task, call an apollo_agent_* tool with an instruction. |
ASSISTANT.VALIDATION.AGENT_TASK_INSTRUCTION_REQUIRED | 422 | instruction is required to start a task. |
ASSISTANT.VALIDATION.AGENT_TASK_NOT_FOUND | 422 | No agent task matches this task_id. |
| Code | HTTP status | Meaning |
|---|
AUTH.AUTHENTICATION.ACCESS_TOKEN_INVALID | 401 | This access token is invalid, expired or revoked. |
AUTH.AUTHENTICATION.API_KEY_INVALID | 401 | This API key is not valid. |
AUTH.AUTHENTICATION.CREDENTIALS_MISSING | 401 | This request carried no credential Apollo could authenticate. |
AUTH.AUTHENTICATION.WORKSPACE_DEACTIVATED | 401 | API access is disabled because this Apollo workspace is no longer active. |
AUTH.AUTHORIZATION.API_ACCESS_NOT_ENABLED | 403 | Your plan does not include API access. |
AUTH.AUTHORIZATION.ENDPOINT_ACCESS_DENIED | 403 | Your team is not permitted to call this endpoint. |
AUTH.AUTHORIZATION.ENDPOINT_NOT_PUBLIC | 403 | This endpoint is not part of the public API. |
AUTH.AUTHORIZATION.ENDPOINT_SCOPE_NOT_GRANTED | 403 | This access token does not carry the scope this endpoint needs. |
| Code | HTTP status | Meaning |
|---|
CRM.NOT_FOUND.CONTACT_NOT_FOUND | 404 | No contact with this ID exists in your workspace. |
| Code | HTTP status | Meaning |
|---|
DEDUPLICATION.CONFLICT.CONTACTS_MERGE_IN_PROGRESS | 409 | Another merge is still processing one or more of these contacts. Try again after it finishes. |
DEDUPLICATION.LIMIT.MERGE_LIMIT_EXCEEDED | 422 | A merge request can include at most 100 groups, and each group at most 10 duplicate contacts. |
DEDUPLICATION.NOT_FOUND.CONTACTS_NOT_FOUND | 422 | One or more of these contact IDs is not a contact in your workspace. |
DEDUPLICATION.NOT_FOUND.DEDUPLICATION_JOB_NOT_FOUND | 404 | No contact merge job with this ID exists in your workspace. |
DEDUPLICATION.VALIDATION.CONTACT_LISTED_MORE_THAN_ONCE | 422 | Each contact can appear only once in a merge request, as a master contact or as a duplicate contact. |
DEDUPLICATION.VALIDATION.DUPLICATE_CONTACT_IDS_MISSING | 422 | Each merge group must list at least one duplicate contact. |
DEDUPLICATION.VALIDATION.EXPORT_CSV_NOT_SUPPORTED | 422 | API callers cannot use export_csv. Omit it or set it to false. |
DEDUPLICATION.VALIDATION.MASTER_CONTACT_LISTED_AS_DUPLICATE | 422 | A master contact cannot also be listed as a duplicate contact in the same request. |
| Code | HTTP status | Meaning |
|---|
ORGANIZATION.VALIDATION.ORGANIZATION_IDENTIFIER_REQUIRED | 422 | Include a company name, domain, website URL, or LinkedIn URL to find a match. |
| Code | HTTP status | Meaning |
|---|
SEARCH.VALIDATION.WEBHOOK_URL_REQUIRED | 400 | Enrichment results are delivered to a webhook, so the request needs a valid webhook_url. |
SEARCH.VALIDATION.WEBHOOK_URL_WITH_POLL_ONLY | 400 | Do not pass webhook_url with poll_only=true. Either poll the result (poll_only=true, no webhook) or register a webhook (omit poll_only). |
| Code | HTTP status | Meaning |
|---|
USAGE.RATE_LIMIT.API_RATE_LIMIT_EXCEEDED | 429 | You have made more API requests than your plan allows in this time window. |
USAGE.RATE_LIMIT.PLATFORM_RATE_LIMIT | 429 | Apollo is temporarily rejecting API requests because of unusually high load across the platform. This is not related to your plan limits. |
USAGE.VALIDATION.TOO_MANY_ENDPOINTS | 422 | Too many endpoints were requested at once. |
USAGE.VALIDATION.UNKNOWN_ENDPOINT | 422 | Some of the requested endpoints are not API endpoints available to your team. |
| Code | HTTP status | Meaning |
|---|
WEBHOOK_RESULT.NOT_FOUND.REQUEST_ID_EXPIRED | 410 | The result for this request_id is older than 30 days and can no longer be returned. |
WEBHOOK_RESULT.NOT_FOUND.REQUEST_ID_ROUNDED | 404 | This request_id matches no request and looks rounded by a JSON parser that reads numbers as 64-bit floats, such as JavaScript. |
WEBHOOK_RESULT.NOT_FOUND.REQUEST_ID_UNKNOWN | 404 | No enrichment request with this request_id was issued for your team, so there is no result to return. Stop polling it. |
WEBHOOK_RESULT.NOT_FOUND.RESULT_PENDING | 404 | The enrichment for this request_id is still processing. |
WEBHOOK_RESULT.VALIDATION.REQUEST_ID_INVALID | 400 | The request_id must be the base-10 signed 64-bit integer returned by the enrichment request. |