Error map

Spring Mail Spring Boot MailAuthenticationException: Authentication failed / 535 (spring.mail.* properties)

Email / SMTP · layer 2, Network

Open the full error page →

Centre: this error. First ring: errors it is linked with (7). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

Spring Mail — Spring Boot MailAuthenticationException: Authentication failed / 535 (spring.mail.* properties) (Email / SMTP)Spring MailJavaMail — javax.mail.MessagingException: Could not connect to SMTP host: smtp.example.com, port: 587 (JavaMail) (Email / SMTP)JavaMailSmtpClientAuthentication is disabled for the Tenant — SMTP: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled / SmtpClientAuthentication is disabled for the Tenant (Email / SMTP)SmtpClientAuthentic…530 5.7.0 Authentication Required — SMTP: 530 5.7.0 Must issue a STARTTLS command first / 530 5.7.1 Authentication required (Email / SMTP)530 5.7.0 Authentic…Nodemailer: EAUTH Invalid login — Nodemailer: Error: Invalid login: 535-5.7.8 Username and Password not accepted (code: 'EAUTH', responseCode: 535) (Email / SMTP)Nodemailer: EAUTH I…534 5.7.9 Application-specific password required — SMTP: 534-5.7.9 Application-specific password required. Learn more at https://support.google.com/accounts/answer/185833 (Email / SMTP)534 5.7.9 Applicati…535 5.7.8 Username and Password not accepted — SMTP: 535-5.7.8 Username and Password not accepted. Learn more at https://support.google.com/mail/?p=BadCredentials (Email / SMTP)535 5.7.8 Username …454 — 454 4.7.0 Temporary authentication failure (SMTP AUTH backend unavailable) (Email / SMTP)454421 4.7.0 Try again later (rate limited) — SMTP: 421 4.7.0 Our system has detected an unusual rate of unsolicited mail originating from your IP address. Mail sent from your IP address has been temporarily rate limited (Email / SMTP)421 4.7.0 Try again…ConnectionRefusedError [Errno 111] (SMTP) — Python: ConnectionRefusedError: [Errno 111] Connection refused — smtplib connect to localhost:25 (Email / SMTP)ConnectionRefusedEr…Nodemailer: ETIMEDOUT / ECONNECTION — Nodemailer: Error: connect ETIMEDOUT 142.250.27.108:465 (code: 'ETIMEDOUT', command: 'CONN') (Email / SMTP)Nodemailer: ETIMEDO…NOAUTH — ReplyError: NOAUTH Authentication required. (Node.js)NOAUTHToo many authentication failures — Received disconnect: Too many authentication failures (Linux)Too many authentica…Authentication token manipulation error — passwd: Authentication token manipulation error (Linux)Authentication toke…rest_forbidden — WordPress REST API: {"code":"rest_forbidden","message":"Sorry, you are not allowed to do that."} (401/403) (WordPress)rest_forbiddenRoute [login] not defined — Laravel: Symfony\Component\Routing\Exception\RouteNotFoundException: Route [login] not defined (Laravel)Route [login] not d…450 4.7.1 Greylisted, please try again later — SMTP: 450 4.7.1 <user@example.com>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/example.com.html (Email / SMTP)450 4.7.1 Greyliste…SMTPAuthenticationError (Python) — Python: smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted') (Email / SMTP)SMTPAuthenticationE…Nodemailer: Greeting never received — Nodemailer: Error: Greeting never received (code: 'ETIMEDOUT', command: 'CONN') (Email / SMTP)Nodemailer: Greetin…self-signed certificate (SMTP TLS) — Nodemailer: Error: self signed certificate in certificate chain (code: 'ESOCKET') / unable to verify the first certificate (Email / SMTP)self-signed certifi…451 4.3.0 Local error in processing — SMTP: 451 4.3.0 Error: queue file write error / 451 Requested action aborted: local error in processing (Email / SMTP)451 4.3.0 Local err…550 5.4.5 Daily user sending quota exceeded — SMTP: 550 5.4.5 Daily user sending quota exceeded (Gmail) (Email / SMTP)550 5.4.5 Daily use…DKIM: body hash did not verify — DKIM: dkim=fail (body hash did not verify) / signature verification failed (Email / SMTP)DKIM: body hash did…SMTP Error: Could not authenticate — WordPress / PHPMailer: SMTP Error: Could not authenticate / SMTP connect() failed (WordPress)SMTP Error: Could n…553 5.7.1 Sender address rejected: not owned by user — SMTP: 553 5.7.1 <noreply@example.com>: Sender address rejected: not owned by user user@example.com (Email / SMTP)553 5.7.1 Sender ad…Postfix: SASL authentication failed — Postfix: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory (Email / SMTP)Postfix: SASL authe…AADSTS700016 — Azure AD (Entra ID): AADSTS700016 Application not found in the directory (Azure)AADSTS700016AADSTS50076 — Azure AD (Entra ID): AADSTS50076 / AADSTS50079 — multi-factor authentication required (Azure)AADSTS50076ECR token expired — denied: Your authorization token has expired. Reauthenticate and try again. (Amazon ECR) (AWS)ECR token expired

Directly related (7)

JavaMailEmail / SMTP

javax.mail.MessagingException: Could not connect to SMTP host: smtp.example.com, port: 587 (JavaMail)

JavaMail couldn't open a connection to the SMTP server.

SmtpClientAuthentication is disabled for the TenantEmail / SMTP

SMTP: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled / SmtpClientAuthentication is disabled for the Tenant

Microsoft 365 turned off password-based SMTP AUTH for your mailbox or tenant; your client must use OAuth or the setting must be r…

530 5.7.0 Authentication RequiredEmail / SMTP

SMTP: 530 5.7.0 Must issue a STARTTLS command first / 530 5.7.1 Authentication required

The server will not accept mail until you encrypt the connection (STARTTLS) and/or authenticate, and your client did neither.

Nodemailer: EAUTH Invalid loginEmail / SMTP

Nodemailer: Error: Invalid login: 535-5.7.8 Username and Password not accepted (code: 'EAUTH', responseCode: 535)

The SMTP server rejected the credentials passed to Nodemailer.

534 5.7.9 Application-specific password requiredEmail / SMTP

SMTP: 534-5.7.9 Application-specific password required. Learn more at https://support.google.com/accounts/answer/185833

The Google account has 2-Step Verification on, so SMTP clients cannot use the normal password; they need an app password (or OAut…

535 5.7.8 Username and Password not acceptedEmail / SMTP

SMTP: 535-5.7.8 Username and Password not accepted. Learn more at https://support.google.com/mail/?p=BadCredentials

The server received your login but rejected it — wrong username or password, an unusable password type, or a blocked sign-in.

454Email / SMTP

454 4.7.0 Temporary authentication failure (SMTP AUTH backend unavailable)

The server couldn't verify your login right now, usually because its authentication backend failed.

Two steps away (21)

421 4.7.0 Try again later (rate limited)Email / SMTP

SMTP: 421 4.7.0 Our system has detected an unusual rate of unsolicited mail originating from your IP address. Mail sent from your IP address has been temporarily rate limited

The receiving server (often Gmail or Outlook) is temporarily throttling your mail because the volume or reputation of your sendin…

ConnectionRefusedError [Errno 111] (SMTP)Email / SMTP

Python: ConnectionRefusedError: [Errno 111] Connection refused — smtplib connect to localhost:25

Nothing is listening on the SMTP host and port your script connected to — often `localhost:25` because no host was given and no l…

Nodemailer: ETIMEDOUT / ECONNECTIONEmail / SMTP

Nodemailer: Error: connect ETIMEDOUT 142.250.27.108:465 (code: 'ETIMEDOUT', command: 'CONN')

Nodemailer could not open a connection to the SMTP server before the timeout — a blocked port, wrong host, or network issue.

NOAUTHNode.js

ReplyError: NOAUTH Authentication required.

The Redis server requires a password (or ACL user) but the client didn’t authenticate.

Too many authentication failuresLinux

Received disconnect: Too many authentication failures

Your SSH agent offered too many keys before the right one, and the server cut the connection (MaxAuthTries, default 6).

Authentication token manipulation errorLinux

passwd: Authentication token manipulation error

passwd couldn’t update the password — the root filesystem is read-only, /etc/shadow has wrong permissions/attributes, or a PAM ru…

rest_forbiddenWordPress

WordPress REST API: {"code":"rest_forbidden","message":"Sorry, you are not allowed to do that."} (401/403)

The REST request isn’t authenticated or the user lacks the capability required by the route’s permission_callback.

Route [login] not definedLaravel

Laravel: Symfony\Component\Routing\Exception\RouteNotFoundException: Route [login] not defined

Code called route('name') for a route name that doesn’t exist — very often route('login') from the auth middleware in API-only ap…

450 4.7.1 Greylisted, please try again laterEmail / SMTP

SMTP: 450 4.7.1 <user@example.com>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/example.com.html

The recipient server deliberately rejected the first delivery attempt from an unknown sender (greylisting) and expects a legitima…

SMTPAuthenticationError (Python)Email / SMTP

Python: smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted')

`smtp.login()` was rejected by the server — wrong credentials, wrong password type, or authentication not allowed for that accoun…

Nodemailer: Greeting never receivedEmail / SMTP

Nodemailer: Error: Greeting never received (code: 'ETIMEDOUT', command: 'CONN')

The TCP connection was made but the server never sent its SMTP `220` banner — usually a TLS mode mismatch or a firewall/proxy swa…

self-signed certificate (SMTP TLS)Email / SMTP

Nodemailer: Error: self signed certificate in certificate chain (code: 'ESOCKET') / unable to verify the first certificate

Nodemailer refused the SMTP server's TLS certificate because it is self-signed, expired, hostname-mismatched or missing its inter…

451 4.3.0 Local error in processingEmail / SMTP

SMTP: 451 4.3.0 Error: queue file write error / 451 Requested action aborted: local error in processing

The server hit an internal problem (disk, database, content filter, DNS) while handling your message and asked you to retry later.

550 5.4.5 Daily user sending quota exceededEmail / SMTP

SMTP: 550 5.4.5 Daily user sending quota exceeded (Gmail)

The Gmail or Google Workspace account reached its 24-hour sending limit, so it stops accepting outgoing mail until the limit rese…

DKIM: body hash did not verifyEmail / SMTP

DKIM: dkim=fail (body hash did not verify) / signature verification failed

The receiver recomputed the message hash and it does not match the DKIM signature, so the message was altered after signing.

SMTP Error: Could not authenticateWordPress

WordPress / PHPMailer: SMTP Error: Could not authenticate / SMTP connect() failed

The SMTP server rejected the login or couldn’t be reached — wrong credentials, app passwords required, wrong port/encryption, or…

553 5.7.1 Sender address rejected: not owned by userEmail / SMTP

SMTP: 553 5.7.1 <noreply@example.com>: Sender address rejected: not owned by user user@example.com

The SMTP server only lets an authenticated user send as addresses they own, and the From/envelope sender does not match the login.

Postfix: SASL authentication failedEmail / SMTP

Postfix: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory

Postfix could not authenticate a user (inbound) or could not log in to a relay (outbound) because the SASL service or credentials…

AADSTS700016Azure

Azure AD (Entra ID): AADSTS700016 Application not found in the directory

The client ID in your sign-in request doesn’t exist in the tenant you’re authenticating against.

AADSTS50076Azure

Azure AD (Entra ID): AADSTS50076 / AADSTS50079 — multi-factor authentication required

A Conditional Access policy requires MFA, but the sign-in flow (often a script, legacy client or ROPC password grant) can’t compl…

ECR token expiredAWS

denied: Your authorization token has expired. Reauthenticate and try again. (Amazon ECR)

Docker’s login to Amazon ECR has expired — ECR tokens last 12 hours, so pushes and pulls fail until you log in again.