CATALOGUES · Published 2026-10-06 · Updated 2026-10-06 · SecureSMTP

Error catalogue

Every error the API returns, what it means and what to do.

Every response has a status code and a JSON body. Read the body as well as the status: some failures of POST /mail/send come back as HTTP 200 with "ok": false.

  • POST /mail/send, GET /mail/domain-status and POST /sequences/enroll name the problem in reason, next to "ok": false.
  • The forms and sites endpoints name it in error. The blocks endpoints use error next to "ok": false.
Examples
// POST /mail/send
{ "ok": false, "sent": false, "reason": "attachments_too_large" }

// POST /forms/submit
{ "error": "no_notify_email_configured" }

// POST /blocks/lift
{ "ok": false, "error": "not_self_liftable" }

Authentication (every endpoint)

ValueHTTPMeaningWhat to do
missing_api_key401No key header was sent.Send x-securessmtp-api-key. See API conventions.
invalid_api_key401The key does not match any site. It may have been rotated.Copy the current key, or rotate it. See Sites and API keys.
site_disabled403The site is disabled. Not returned by the blocks endpoints.Check Blocks.

POST /mail/send

In the order the checks run. Values are in reason.

ValueHTTPMeaningWhat to do
email_not_verified403The email address on your SecureSMTP account is not confirmed yet. New accounts confirm their email address before their sites can send. Not sent, and not in the email log. Over SMTP this is a 550 5.7.1 reply.Open the confirm link we emailed you when you signed up, then send again. To get a new link, use the banner at the top of your dashboard.
invalid_json400The body is not valid JSON.Fix the body. Do not retry as is.
invalid_payload400A field failed validation. details lists which (for example a bad address, more than 50 recipients, from sent as a string).Fix the field named in details.
template_not_found400No template with that id or slug in your account, and no starter template with it.Check the name in /app/templates.
no_body400No html, no text and no template.Send html, text or a template.
domain_not_verified403The site has no verified sending domain and the account may not use the shared address. Not sent, and not in the email log. The message reads “Verify your domain first: add the DNS records under Sending domains in your dashboard.” Over SMTP this is a 550 5.7.1 reply.Add your domain under Sending domains and verify it. See Your own domain is required.
sender_check_unavailable503We could not check your sending domain just now. Not sent, and nothing is paused. The answer has a Retry-After: 120 header and the message reads “We could not check your sending domain just now. Please try again in a few minutes.” Over SMTP this is a temporary 450 4.3.0 reply, so your mail program tries again by itself.Try again in a few minutes.
invalid_attachment400An attachment’s content is not valid base64. The response includes its filename.Encode the file as base64.
attachments_too_large400Attachments add up to more than 15 MB after decoding.Send fewer or smaller files, or a link.
rate_limited200The site sent 120 emails in the last 60 seconds. Not sent.Wait a minute and send again.
sending_paused403Sending is paused on this site: its first email was refused, the sending brake or a phishing check found a problem, or our team paused it. Not sent. The message asks you to check your email for the reason or open a support ticket.Check your email for the reason, then open a support ticket at /support. A person at SecureSMTP reviews it and releases the site. You cannot un-pause it in the dashboard.
account_suspended403The account that owns this site is suspended. Nothing is sent or stored. The message asks you to open a support ticket.Open a support ticket at /support. You do not need to sign in.
content_flagged400The subject and body scored 90 or more on the spam check. Not sent. A score of 60–89 is sent and marked for our daily spam review.Change the content. See Spam protection.
phishing_blocked400The subject or sender name uses look-alike letters (for example Cyrillic letters inside an English word), or the sender name claims to be a bank, government agency, delivery company or big brand while sending from our shared domain. Not sent.Use plain letters and your own business name. Sending from your own verified domain removes the brand-name check.
held_as_spam200Not an error: ok and sent are true and held is true. A contact-form notification was judged spam and not sent.Nothing. Do not resend it another way.
ai_flagged400The AI check is at least 85% sure the email is phishing (70% for accounts less than 7 days old). Not sent, and sending on the site can be paused: at once for accounts less than 7 days old or sending from our shared domain, after three in 24 hours for others. Other suspected spam is sent and marked for our daily spam review.Change the content. If you think it is wrong, contact support.
first_email_check_unavailable503We could not check this site’s first email just now. Not sent, and nothing is paused. The answer has a Retry-After: 120 header. Over SMTP this is a temporary 450 4.7.0 reply, so your mail program tries again by itself.Try again in a few minutes.
over_quota200The account’s monthly email count is used up. Not sent.Wait for the new month or upgrade. See Plans and limits.
over_daily_limit200The account reached its daily email limit: 200 a day on the Free plan and on a trial before its first payment, or 1,000 a day during the first 7 days of a paid account. Not sent.Wait until midnight UTC, when the count resets.
send_failed200The send failed. error has the cause (see below).Read error. Retry only for causes other than the two below.

A site’s first email is always checked by the AI. On a first email, content_flagged, phishing_blocked and ai_flagged can come back with "paused": true and a message: the email was refused and sending on the site is paused until a person checks it. The site owner gets an email too. To get the site released, open a support ticket at /support. A refusal pauses the site when the AI refused the email, or when the content check or the phishing check refused it and the AI agreed. A contact-form notice from a WordPress form plugin is refused the same way but never pauses the site.

"paused": true also comes back on a later email that the AI refuses as phishing, when that pauses the site: at once for accounts less than 7 days old or sending from our shared domain, after three in 24 hours for others. See Deliverability.

Values of error with send_failed

errorMeaning
all_recipients_suppressedEvery address in to is on the suppression list. See Bounces and suppressions.
all_recipients_unsubscribedEvery address in to unsubscribed from this site. See Unsubscribe links.
Any other textA delivery error on our side. Retry after a short wait; contact support if it repeats.

A request body over 25 MB is refused by the web server with 413 before it reaches the API.

GET /mail/domain-status

Only the authentication errors above.

POST /forms/submit

ValueHTTPMeaningWhat to do
invalid_json400The body is not valid JSON.Fix the body.
invalid_payload400A field failed validation. details lists which (for example form_id missing, a field value over 10,000 characters, site_url not a full URL).Fix the field named in details.
no_notify_email_configured400No valid recipient in the request and the site has no notify email.Send notify_emails, or set the site’s notify email on the Sites page.

These are not errors, but your code should know them:

BodyMeaning
{"ok":true,"blocked":true}Dropped: rejected captcha token, blocked IP, or the IP went over the limit. Not stored.
{"ok":true,"id":"…"}Stored as spam. Not emailed.
{"ok":true,"id":"…","email_sent":false}Stored. The email failed, or the monthly form-submission count is used up.

GET /forms/render/{slug}

ValueHTTPMeaningWhat to do
invalid_slug400The slug has characters other than lowercase letters, numbers and dashes.Use the slug shown in the form builder.
site_has_no_owner403The key’s site is not linked to an account.Contact support.
form_not_found404No form with that slug in the account that owns the key.Check the slug and that the key belongs to the same account.
form_archived410The form was archived.Use another form.

GET and POST /sites/captcha

ValueHTTPMeaningWhat to do
invalid_json400The body is not valid JSON.Fix the body.
invalid_payload400provider is missing or not one of the allowed values, or a key is too long.Fix the field named in details.
site_key_required400A provider that needs keys was chosen without site_key.Send site_key.
secret_key_required_on_first_save400No secret is saved yet and none was sent.Send secret_key.
encryption_failed500The secret could not be stored.Retry later. Contact support if it repeats.

POST /sites/verify

ValueHTTPMeaningWhat to do
invalid_json400The body is not valid JSON.Fix the body.
invalid_payload400site_url is missing or not a full URL, or a version field is over 20 characters.Fix the field named in details.

POST /sequences/enroll

ValueHTTPMeaningWhat to do
invalid_payload400The body is not valid JSON, or a field failed validation. No details are given.Check sequence, email and data.
sequence_not_found404No sequence with that ID in the account that owns the key.Copy the ID from the sequence page.

Two answers have HTTP 200 and "ok": false: "result": "exists" (the address is already in the sequence) and "result": "no_steps" (the sequence has no steps). See Follow-up sequences.

Integration endpoints

GET /me, GET /templates, GET /sequences, POST /hooks, DELETE /hooks/{id} and GET /hooks/sample. Values are in reason, next to "ok": false. See Integration endpoints.

ValueHTTPMeaningWhat to do
sending_paused403Sending is paused on this site. Any of the six endpoints can give it.Check your email for the reason, then open a support ticket at /support to get the site reviewed.
account_suspended403The account that owns this site is suspended. Nothing is sent or stored. The message asks you to open a support ticket.Open a support ticket at /support. You do not need to sign in.
rate_limited429The site made more than 120 calls in a minute to these six endpoints together. Refused calls count too. The answer has a Retry-After header (seconds).Wait the number of seconds in Retry-After, then try again.
invalid_payload400POST /hooks: the body is not valid JSON, or url or event is missing or too long.Send a JSON body with url and event.
bad_event400POST /hooks: event is not a webhook event name. GET /hooks/sample: it is missing or is not one.Use a name from the Event catalogue.
bad_url400POST /hooks: url is not a valid web address.Send a full address such as https://example.com/hook.
bad_scheme400POST /hooks: url does not start with http:// or https://.Use an http or https address.
url_not_allowed400POST /hooks: the host cannot be looked up, or it resolves to a loopback, private, link-local or reserved address, or to SecureSMTP’s own servers.Use a public address.
too_many_hooks409POST /hooks: the site already has 50 webhooks. Paused ones and ones made in the dashboard count too.Delete a hook you no longer use, here or under Webhooks in the dashboard.
not_found404DELETE /hooks/{id}: this site has no hook with this id.Check the id. If the hook is already gone, there is nothing more to do.

GET /blocks/status and POST /blocks/lift

ValueHTTPMeaningWhat to do
bad_body400The body is not {"kind":"ip","block_id":"…"} or {"kind":"site"}.Fix the body.
not_found404No IP block with that ID.Read the IDs from GET /blocks/status.
already_lifted400The IP block was already lifted.Nothing.
not_self_liftable403The IP block’s reason is not rate_limit.Contact support.
not_owner403The IP block was set for another site.Use that site’s key, or contact support.
reactivate_in_dashboard403kind site: you turned the site off in the dashboard. The API key never turns a site back on.Turn it back on with Reactivate on the Sites page in the dashboard.
requires_admin_review403kind site: SecureSMTP paused or turned off the site (any SecureSMTP pause: the sending checks, the form-spam check or our team).Open a support ticket at /support. A person at SecureSMTP reviews it.
already_active400The site is not disabled.Nothing.

These endpoints accept the key of a disabled site, so they never return site_disabled.

SMTP replies

Messages sent over SMTP go through the same checks as POST /mail/send. The result comes back as the SMTP reply. 4xx means try again later; your mail program does this by itself. 5xx means the message will not be sent as it is.

ReplyMeaningWhat to do
250 AcceptedAccepted. Also the answer when a contact-form notification is held as spam.Nothing.
535Login failed: the password is not a valid key, the site is disabled, or sending on the site is paused.Use the site’s current API key as the password. If sending is paused, open a support ticket at /support: logins work again after a person at SecureSMTP releases the site.
450 4.7.0Rate limit: 120 emails per minute per site. Also the reply when we could not check a site’s first email just now: “We could not check this site’s first email just now - please try again in a few minutes”. Nothing is paused.Your mail program retries. For the rate limit, send more slowly.
450 4.3.0Temporary failure. Also the reply when we could not check your sending domain just now: “We could not check your sending domain just now - please try again in a few minutes”. Nothing is sent and nothing is paused.Your mail program retries.
450 4.5.3Too many recipients: every recipient after the 150th in one message is refused.Split the message.
550 5.7.0Monthly email limit reached.Wait for the new month or upgrade.
550 5.7.1Looks like spam or phishing, sending on the site is paused (a session that was already logged in gets this, with the support text), the site is disabled, or every recipient unsubscribed from this site.Read the text after the code. If it says sending is paused, open a support ticket at /support.
550 5.7.1The email address on your SecureSMTP account is not confirmed yet. The text reads “Confirm the email address on your SecureSMTP account first - check your inbox or securessmtp.com/app”. Logins still work.Open the confirm link we emailed you, or get a new one from the banner at the top of your dashboard. Then send again.
550 5.7.1The site has no verified sending domain and the account may not use the shared address. The text reads “Verify your sending domain first - securessmtp.com/app/forms/email”. Logins still work.Add your domain and verify it. See Your own domain is required.
550 5.7.8The key stopped working during the session (for example it was rotated).Use the new key.
550 5.1.1Every recipient is on the suppression list.See Bounces and suppressions.
550 5.3.4Attachments are larger than 15 MB in total.Send smaller files.
550 5.6.0The message could not be read: no body, an attachment that cannot be read, or bad recipient addresses.Fix the message.
550 5.5.1No recipients.Add a recipient.
550 5.5.3More than 50 addresses in To, Cc or Bcc.Split the message.