Skip to main content

Understanding Provider Error Responses

Every provider reports failures in its own words. The first number in the message is often the most useful part.

SMTP codes​

SMTP replies use a three-digit code. The first digit tells you the type.

CodeMeaningWhat to do
2xxSuccessNothing. The server accepted the message.
4xxTemporary failureRetry later. The server may be busy or rate limiting.
5xxPermanent failureFix the message, sender, or account. Retrying will not help.

Common examples:

CodeMeaning
421Service not available, try again later
450Mailbox busy or temporarily unavailable
451Local error, try again later
452Too many recipients or not enough storage
550Mailbox unavailable or message rejected
551User not local
552Message too large
553Invalid mailbox name
554Transaction failed

A 550 from a provider can mean "unknown recipient", "blocked content", or "sender not allowed". The text after the code is the part that tells you which one.

API errors​

StatusMeaningWhat to do
400Bad requestCheck the sender, recipient, and payload
401UnauthorizedCreate a new key or token
403ForbiddenAdd the missing permission or verify the domain
404Not foundCheck the domain, region, or account ID
422UnprocessableRead the message field for the exact field that failed
429Rate limitedSlow down and check the plan limit
500Provider errorRetry later
503Service unavailableRetry later and check the status page

LetterPress shows the provider's message when the response includes one. That message is usually more useful than the status code.

Where to find the full error​

  • Provider test: the message appears under the test buttons.
  • Campaign recipients: Reports > Recipients shows the last error for each recipient.
  • Campaign events: Reports > Events shows send failures and rejections with a detail column.
  • Provider dashboard: the provider's own logs often include a request ID and the full response.

LetterPress keeps campaign event and recipient detail for the retention period under Settings > General. It does not keep a per-email log for WordPress notification emails.

Retry or fix?​

Retry when the error is temporary:

  • 429 or a rate limit message.
  • 5xx provider errors.
  • 4xx SMTP temporary failures.

Fix the setup when the error is permanent:

  • 401 or 403.
  • Unverified sender or domain.
  • Invalid recipient.
  • Missing permission.
  • Sandbox restriction.

Retrying without fixing the cause only wastes your sending limit and can hurt your reputation.

Next steps​