Error Codes

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.

ASSISTANT

CodeHTTP statusMeaning
ASSISTANT.AUTHORIZATION.AGENT_TASK_NOT_ACCESSIBLE403You do not have access to this agent task.
ASSISTANT.INTERNAL.AGENT_TASK_INTERNAL_ERROR500The agent task request failed. Retry shortly.
ASSISTANT.VALIDATION.AGENT_TASK_CURSOR_INVALID422cursor must be a non-negative integer.
ASSISTANT.VALIDATION.AGENT_TASK_ID_REQUIRED422task_id is required. To start a task, call an apollo_agent_* tool with an instruction.
ASSISTANT.VALIDATION.AGENT_TASK_INSTRUCTION_REQUIRED422instruction is required to start a task.
ASSISTANT.VALIDATION.AGENT_TASK_NOT_FOUND422No agent task matches this task_id.

AUTH

CodeHTTP statusMeaning
AUTH.AUTHENTICATION.ACCESS_TOKEN_INVALID401This access token is invalid, expired or revoked.
AUTH.AUTHENTICATION.API_KEY_INVALID401This API key is not valid.
AUTH.AUTHENTICATION.CREDENTIALS_MISSING401This request carried no credential Apollo could authenticate.
AUTH.AUTHENTICATION.WORKSPACE_DEACTIVATED401API access is disabled because this Apollo workspace is no longer active.
AUTH.AUTHORIZATION.API_ACCESS_NOT_ENABLED403Your plan does not include API access.
AUTH.AUTHORIZATION.ENDPOINT_ACCESS_DENIED403Your team is not permitted to call this endpoint.
AUTH.AUTHORIZATION.ENDPOINT_NOT_PUBLIC403This endpoint is not part of the public API.
AUTH.AUTHORIZATION.ENDPOINT_SCOPE_NOT_GRANTED403This access token does not carry the scope this endpoint needs.

CRM

CodeHTTP statusMeaning
CRM.NOT_FOUND.CONTACT_NOT_FOUND404No contact with this ID exists in your workspace.

DEDUPLICATION

CodeHTTP statusMeaning
DEDUPLICATION.CONFLICT.CONTACTS_MERGE_IN_PROGRESS409Another merge is still processing one or more of these contacts. Try again after it finishes.
DEDUPLICATION.LIMIT.MERGE_LIMIT_EXCEEDED422A merge request can include at most 100 groups, and each group at most 10 duplicate contacts.
DEDUPLICATION.NOT_FOUND.CONTACTS_NOT_FOUND422One or more of these contact IDs is not a contact in your workspace.
DEDUPLICATION.NOT_FOUND.DEDUPLICATION_JOB_NOT_FOUND404No contact merge job with this ID exists in your workspace.
DEDUPLICATION.VALIDATION.CONTACT_LISTED_MORE_THAN_ONCE422Each contact can appear only once in a merge request, as a master contact or as a duplicate contact.
DEDUPLICATION.VALIDATION.DUPLICATE_CONTACT_IDS_MISSING422Each merge group must list at least one duplicate contact.
DEDUPLICATION.VALIDATION.EXPORT_CSV_NOT_SUPPORTED422API callers cannot use export_csv. Omit it or set it to false.
DEDUPLICATION.VALIDATION.MASTER_CONTACT_LISTED_AS_DUPLICATE422A master contact cannot also be listed as a duplicate contact in the same request.

ORGANIZATION

CodeHTTP statusMeaning
ORGANIZATION.VALIDATION.ORGANIZATION_IDENTIFIER_REQUIRED422Include a company name, domain, website URL, or LinkedIn URL to find a match.

SEARCH

CodeHTTP statusMeaning
SEARCH.VALIDATION.WEBHOOK_URL_REQUIRED400Enrichment results are delivered to a webhook, so the request needs a valid webhook_url.
SEARCH.VALIDATION.WEBHOOK_URL_WITH_POLL_ONLY400Do not pass webhook_url with poll_only=true. Either poll the result (poll_only=true, no webhook) or register a webhook (omit poll_only).

USAGE

CodeHTTP statusMeaning
USAGE.RATE_LIMIT.API_RATE_LIMIT_EXCEEDED429You have made more API requests than your plan allows in this time window.
USAGE.RATE_LIMIT.PLATFORM_RATE_LIMIT429Apollo 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_ENDPOINTS422Too many endpoints were requested at once.
USAGE.VALIDATION.UNKNOWN_ENDPOINT422Some of the requested endpoints are not API endpoints available to your team.

WEBHOOK_RESULT

CodeHTTP statusMeaning
WEBHOOK_RESULT.NOT_FOUND.REQUEST_ID_EXPIRED410The result for this request_id is older than 30 days and can no longer be returned.
WEBHOOK_RESULT.NOT_FOUND.REQUEST_ID_ROUNDED404This 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_UNKNOWN404No 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_PENDING404The enrichment for this request_id is still processing.
WEBHOOK_RESULT.VALIDATION.REQUEST_ID_INVALID400The request_id must be the base-10 signed 64-bit integer returned by the enrichment request.