Reference
Errors
Every error response says what happened and what to do next. Find your code below: each card has the fix and tells you whether a retry will work.
- fix
- docs_url
- retryable
What every error includes
fixThe next step to take, in plain words.
docs_urlA link straight to the card of the code on this page.
retryabletrue: the same call will work after waiting. false: change something first.
Responses with status 429 or 503 send a Retry-After header (seconds). On POST /v3.0/send, IDEMPOTENCY_IN_PROGRESS (409) sends Retry-After: 1. Command errors (CMD) and MCP errors have no header: when retryable is true, wait a few seconds and retry.
On POST /v3.0/send the message is in error, not in message.
MCP tools return isError: true. The text is CODE: message with Fix: … on a new line, and structuredContent has code, message, fix, docs_url and retryable.
{
"error": "The to field is missing or empty.",
"code": "MISSING_TO",
"fix": "Add at least one recipient in to.",
"docs_url": "https://docs.sendcorex.com/errors#missing_to",
"retryable": false
}{
"content": [{ "type": "text", "text": "DOMAIN_NOT_FOUND: Domain not found or does not belong to this account.\nFix: Add the domain first (domain_add / POST /v1/domain add_domain), then publish the DNS records it returns." }],
"structuredContent": {
"code": "DOMAIN_NOT_FOUND",
"message": "Domain not found or does not belong to this account.",
"fix": "Add the domain first (domain_add / POST /v1/domain add_domain), then publish the DNS records it returns.",
"docs_url": "https://docs.sendcorex.com/errors#domain_not_found",
"retryable": false
},
"isError": true
}Error codes
Authentication 11
MISSING_AUTH_HEADER401Send the API key in the header: Authorization: Bearer <your API key>.
Link: #missing_auth_headerINVALID_API_KEY401 / CMDThe key is wrong, revoked or expired. Create a new key in Dashboard → API keys (with the email:send scope) and use it.
Link: #invalid_api_keyINVALID_TOKEN401 / CMDThe access token is invalid or expired. Refresh it (POST /v1/token/refresh) or reconnect the app.
Link: #invalid_tokenWRONG_CREDENTIAL_TYPE401 / CMDThis token is for a mailbox, not the account. Reconnect using the account (not a single mailbox).
Link: #wrong_credential_typeMISSING_SCOPE403 / CMDThe key/connection lacks the scope named in the message. Edit the key in Dashboard → API keys and add it, or reconnect and allow it.
Link: #missing_scopeMISSING_USER_PRIVILEGES401 / CMDThis account is not allowed to send through the API yet. Finish onboarding in the dashboard or contact support.
Link: #missing_user_privilegesAUTH_UNAVAILABLE503Temporary problem validating the credential. Retry in a few seconds with the same request.
Link: #auth_unavailableUNAUTHORIZEDCMDAuthenticate first: send a valid API key or access token.
Link: #unauthorizedAPI_KEY_PAUSED403The key owner paused this key. Resume it in Dashboard → API keys (or use another key); retrying will not help until then.
Link: #api_key_pausedAPI_KEY_EXPIRED401The API key has expired. Create a new key in Dashboard → API keys and use it. On POST /v3.0/send this comes back as INVALID_API_KEY, with the reason in the message.
Link: #api_key_expiredIP_NOT_ALLOWED403The call came from an IP that is not in the key's Allowed IPs. Add the IP to the key in Dashboard → API keys, or call from an allowed IP.
Link: #ip_not_allowedSMTP login 7
SMTP_WRONG_PASSWORDSMTP 535 5.7.8Wrong username or password (the same reply is used when the username does not exist). Copy the password again from Dashboard → SMTP → Credentials, or reset it, and update it in every app that uses this username.
Link: #smtp_wrong_passwordSMTP_INVALID_USERNAMESMTP 535 5.7.8Use the SMTP username (user-… or graph-…), never an email address. Copy it from Dashboard → SMTP → Credentials.
Link: #smtp_invalid_usernameSMTP_IP_LOCKED_AFTER_FAILURESSMTP 535 5.7.8This IP was locked after 5 wrong passwords for this username within 1 hour. Fix the password in every app, then unblock the IP in Dashboard → SMTP → Credentials (or unblock_ip on POST /v1/security), or wait up to 1 hour.
Link: #smtp_ip_locked_after_failuresSMTP_CREDENTIAL_LOCKEDSMTP 535 5.7.8Wrong passwords came from 5 different IPs within 1 hour, so this credential is locked. Reset its password in Dashboard → SMTP → Credentials and update it in every app.
Link: #smtp_credential_lockedSMTP_CREDENTIAL_TEMPORARILY_BLOCKEDSMTP 535 5.7.8Too many failed logins in a short time. Fix the password, wait a few minutes and try again.
Link: #smtp_credential_temporarily_blockedSMTP_IP_NOT_ALLOWEDSMTP 535 5.7.8This IP is not in the credential's Allowed IPs. Add it in Dashboard → SMTP → Credentials, remove the restriction, or connect from an allowed IP.
Link: #smtp_ip_not_allowedSMTP_IP_BLOCKEDSMTP 421 4.7.1This IP is blocked (wrong passwords, daily limit or too many connections). See the reason and unblock it in Dashboard → SMTP → Credentials → Blocked IPs, or with unblock_ip on POST /v1/security. Abuse blocks need support.
Link: #smtp_ip_blockedIP unblock 3
NOT_BLOCKEDCMDThis IP is not blocked on your account, so there is nothing to unblock. Check list_blocked_ips.
Link: #not_blockedNOT_SELF_SERVICECMDThis IP was blocked for abuse and cannot be unblocked here. Contact support.
Link: #not_self_serviceUNBLOCK_QUOTACMDYou already used the 3 self-service unblocks of the last 30 days (for the whole account). Wait until quota.resets_at, or contact support.
Link: #unblock_quotaAccount 4
ACCOUNT_BLOCKED401 / 403 / CMDThe account is blocked; no retry will work. The account owner must contact support.
Link: #account_blockedACCOUNT_SUSPENDED_SPOOFING403 / CMDSuspended after repeated From-header mismatches. Contact support; then send only from your verified domains.
Link: #account_suspended_spoofingUSER_NOT_FOUND401 / CMDThe account behind this key no longer exists. Use a key from an active account.
Link: #user_not_foundEMAIL_NOT_VALIDATED401 / CMDThe account owner must confirm their email address (link in the welcome email) before sending.
Link: #email_not_validatedDomains & senders 12
SENDER_NOT_ALLOWED_FOR_KEY403This API key only sends from the addresses/domains in allowed_senders. Use one of them as from, or edit the key's allowed senders in Dashboard → API keys.
Link: #sender_not_allowed_for_keyDOMAIN_NOT_VALIDATED401 / CMDThe sender domain is not verified. Get its DNS records (domain_get / POST /v1/domain get_domain), add them at the DNS provider and wait for verification; or send from an already verified domain (domain_list).
Link: #domain_not_validatedDOMAIN_NOT_FOUNDCMDAdd the domain first (domain_add / POST /v1/domain add_domain), then publish the DNS records it returns.
Link: #domain_not_foundFROM_HEADER_DOMAIN_MISMATCH401 / CMDThe From address must be on one of your verified domains (domain_list). Do not put another domain in the From header.
Link: #from_header_domain_mismatchISP_DOMAIN_BLOCKED401 / CMDYou cannot send as gmail.com, outlook.com and other mailbox providers. Use an address on your own verified domain.
Link: #isp_domain_blockedLISTED_SPAM_HAUS401 / CMDThe sender domain is on Spamhaus. Request delisting at spamhaus.org (domain_request_remediation helps), or send from another verified domain.
Link: #listed_spam_hausSENDER_NOT_FOUNDCMDCreate the sender first (sender_create / POST /v1/sender create_sender) or use one from sender_list.
Link: #sender_not_foundINVALID_SENDER_FORMAT400 / CMDThe from address is malformed. Use a plain address like hello@yourdomain.com.
Link: #invalid_sender_formatINVALID_FROM_FORMAT400from must be a valid email address on a verified domain, e.g. hello@yourdomain.com.
Link: #invalid_from_formatMISSING_FROM400Add from (an address on a verified domain).
Link: #missing_fromMISSING_SENDERNAME400Add sender_name (the display name, e.g. your brand).
Link: #missing_sendernameINVALID_SENDERNAME_FORMAT400sender_name cannot contain @ / \ ' " [ ] ( ) : — use plain text like your brand name.
Link: #invalid_sendername_formatCredits & limits 9
API_KEY_DAILY_CAP_REACHED429This key reached its daily recipient limit. Wait until 00:00 UTC (Retry-After) or raise the key's daily limit in Dashboard → API keys.
Link: #api_key_daily_cap_reachedNO_CREDITS_LEFT401No email credits left. Upgrade the plan or buy credits in Dashboard → Billing; sending works again right after.
Link: #no_credits_leftINSUFFICIENT_CREDITSCMDNot enough credits for all recipients. Send to fewer recipients or add credits in Dashboard → Billing.
Link: #insufficient_creditsEMAIL_CREDITS_NOT_FOUND401Temporary problem reading credits. Retry in a few seconds.
Link: #email_credits_not_foundCREDITS_UNAVAILABLECMDTemporary problem reading credits. Retry in a few seconds.
Link: #credits_unavailableDAILY_LIMIT403 / CMDDaily sending limit reached. Wait until the limit resets (00:00 UTC) or upgrade the plan for a higher limit. Retrying now will fail.
Link: #daily_limitMARKETING_LIMIT_REACHED403Free-plan marketing limit reached for today. Transactional emails still go out; upgrade (upgradeUrl in the response) to send more marketing.
Link: #marketing_limit_reachedPAID_PLAN_REQUIREDCMDThis feature needs a paid plan. Upgrade in Dashboard → Billing.
Link: #paid_plan_requiredRISKY_TLD_REQUIRES_PAID_PLANCMDSending from this domain extension needs a paid plan. Upgrade, or use a domain with a common extension (.com, .io…).
Link: #risky_tld_requires_paid_planContent & recipients 30
INVALID_JSON400The body is not valid JSON or has a wrong field type. Check the request against the API reference.
Link: #invalid_jsonINVALID_ARGS400One argument is missing or invalid — the message says which. Fix it and send again.
Link: #invalid_argsINVALID_ARGUMENTCMDOne argument is missing or invalid — the message says which. Fix it and send again.
Link: #invalid_argumentMISSING_TO400Add at least one recipient in to.
Link: #missing_toMISSING_SUBJECT400 / CMDAdd a subject (or use a template that has one).
Link: #missing_subjectMISSING_BODY400Add the email body (html/body or text, or a template).
Link: #missing_bodyINVALID_TOADDRESS400 / CMDOne recipient is not a valid email address. Fix or remove it.
Link: #invalid_toaddressINVALID_RECIPIENTCMDOne recipient is not a valid email address. Fix or remove it.
Link: #invalid_recipientRECIPIENT_LIMIT_EXCEEDED400 / CMDToo many recipients in one call (to+cc+bcc max 50). Split into several calls.
Link: #recipient_limit_exceededTOADDRESS_LIMIT_EXCEEDED400Too many addresses in to. Split into several calls.
Link: #toaddress_limit_exceededTOO_MANY_RECIPIENTSCMDToo many recipients in one call. Split into several calls.
Link: #too_many_recipientsRECIPIENT_UNSUBSCRIBED422 / CMD / SMTP 550 5.7.1This person unsubscribed from you. Do not send to them again.
Link: #recipient_unsubscribedFORBIDDEN_HTML_CONTENT403Remove the active content listed in findings (script, on* handlers, javascript: links, forms) and send again.
Link: #forbidden_html_contentUNSAFE_HTMLCMDRemove scripts, on* handlers, javascript: links and forms from the HTML and send again.
Link: #unsafe_htmlMISSING_UNSUBSCRIBE_PLACEHOLDER400With unsubscribe=true the body must contain [unsubscribe_url] (e.g. <a href="[unsubscribe_url]">Unsubscribe</a>).
Link: #missing_unsubscribe_placeholderHEADER_NOT_ALLOWED400Only List-Id, X-Report-Abuse, Feedback-ID and X-* custom headers are allowed. Remove the others.
Link: #header_not_allowedINVALID_HEADER_VALUE400Header values cannot contain line breaks (CR/LF). Remove them.
Link: #invalid_header_valueINVALID_ATTACHMENT400Attachment content must be valid base64 with a filename. Re-encode the file.
Link: #invalid_attachmentDANGEROUS_ATTACHMENT400The file type is blocked for security (executables, scripts, macros). Send a safe format (like PDF) or a download link instead.
Link: #dangerous_attachmentFILE_BLOCKEDCMDThe file was blocked by the security scan. Do not send it; share a safe format or a link instead.
Link: #file_blockedATTACHMENTS_TOO_LARGE413Attachments exceed the size limit (25 MB in total). Send fewer/smaller files or a download link.
Link: #attachments_too_largeINVALID_SCHEDULED_AT400scheduled_at must be in the future: ISO 8601 (2026-11-01T09:00:00Z) or "in 2 hours".
Link: #invalid_scheduled_atINVALID_TIMECMDUse RFC 3339 with timezone (2026-11-01T09:00:00Z), 1 minute to 1 year from now.
Link: #invalid_timeINVALID_SENDING_IP400sending_ip must be one of your dedicated IPs. Omit it to use automatic routing.
Link: #invalid_sending_ipSPAM_DETECTED403 / CMDThe content looked like spam and is held in quarantine. Rewrite it (fewer links, no misleading claims, real sender name) and send again, or ask for release with quarantine_id (POST /v3.0/quarantine/release).
Link: #spam_detectedTEMPLATE_NOT_FOUNDCMDCheck the template id with template_list (or list_templates).
Link: #template_not_foundDRAFT_NOT_FOUNDCMDThe draft was already sent or deleted. Check list_drafts before sending again.
Link: #draft_not_foundALREADY_SENTCMDThis was already sent. Do not send again.
Link: #already_sentNOT_FOUND404The id does not exist in this account/mailbox. List first and use an id from the list.
Link: #not_foundEMAIL_NOT_FOUND_OR_ALREADY_SENTCMDThe email was already sent or the id is wrong. Use the id returned by the send (ids[].id).
Link: #email_not_found_or_already_sentIdempotency 4
INVALID_IDEMPOTENCY_KEY400 / CMDUse 1–255 characters: letters, numbers, _ - : . (a UUID works).
How idempotency works →Link: #invalid_idempotency_keyIDEMPOTENCY_KEY_REUSED422 / CMDThis key was used for a different email. Generate a new key for each different email; reuse a key only to retry the exact same call.
How idempotency works →Link: #idempotency_key_reusedIDEMPOTENCY_IN_PROGRESS409 / CMDThe first call with this key is still running. Wait 1 second and retry the same call with the same key.
How idempotency works →Link: #idempotency_in_progressIDEMPOTENCY_REPLAY_FAILEDCMDThe email was already sent. Do not send it again.
How idempotency works →Link: #idempotency_replay_failedTemporary errors & retries 12
RATE_LIMITED429Too many requests. Wait the Retry-After seconds, then retry.
Link: #rate_limitedTOO_MANY_CONCURRENT_CONNECTIONS429Too many calls at the same time. Send one at a time and retry after Retry-After seconds.
Link: #too_many_concurrent_connectionsIP_TEMPORARILY_BLOCKED429Blocked after repeated policy violations. Stop retrying, fix the cause of the earlier errors, then wait Retry-After seconds.
Link: #ip_temporarily_blockedCREDENTIAL_TEMPORARILY_BLOCKED429This key is blocked after repeated policy violations. Stop retrying, fix the cause of the earlier errors, then wait Retry-After seconds.
Link: #credential_temporarily_blockedTEMPORARILY_BLOCKED429Blocked after repeated policy violations. Stop retrying, fix the cause of the earlier errors, then wait Retry-After seconds.
Link: #temporarily_blockedINTERNAL_SERVER_ERROR500Unexpected error on our side. Retry with the same Idempotency-Key in a few seconds; if it keeps failing, contact support.
Link: #internal_server_errorINTERNAL500Unexpected error on our side. Retry in a few seconds (with the same idempotency_key when sending).
Link: #internalPERSIST_FAILED500Could not queue the email. Retry with the same Idempotency-Key in a few seconds.
Link: #persist_failedSEND_UNAVAILABLECMDSending is temporarily unavailable. Retry in a few seconds (with the same idempotency_key).
Link: #send_unavailableNO_SERVERS_AVAILABLECMDSending is temporarily unavailable. Retry in a few seconds.
Link: #no_servers_availableUNSUBSCRIBE_UNAVAILABLE503Temporary problem creating the unsubscribe link. Retry in a few seconds.
Link: #unsubscribe_unavailableUNKNOWN_COMMANDCMDCheck the command name in the API reference (or call whoami / tools/list).
Link: #unknown_commandCodes not listed here: read the message, and retry only on 5xx or 429.