Error map

WP Mail SMTP WP Mail SMTP + Gmail/Google OAuth: Error 400: redirect_uri_mismatch or "Access blocked: app not verified"

Email / SMTP · layer 2, Network

Open the full error page →

Centre: this error. First ring: errors it is linked with (9). 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.

WP Mail SMTP — WP Mail SMTP + Gmail/Google OAuth: Error 400: redirect_uri_mismatch or "Access blocked: app not verified" (Email / SMTP)WP Mail SMTPredirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…WordPress: Could not instantiate mail function — WordPress: Mailer Error: Could not instantiate mail function. / wp_mail() failed (Email / SMTP)WordPress: Could no…AADSTS500113 — AADSTS500113: No reply address is registered for the application (Azure)AADSTS500113534 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 …Key path oauth-private.key does not exist or is not readable — Laravel Passport: LogicException: Key path "file:///var/www/storage/oauth-private.key" does not exist or is not readable (Laravel)Key path oauth-priv…4.7.28 — Gmail: 421 4.7.28 Our system has detected an unusual rate of unsolicited mail originating from your IP address (Email / SMTP)4.7.285.7.32 — Gmail: 550 5.7.32 Your email has been blocked because the From: header domain isn't aligned with SPF or DKIM (Email / SMTP)5.7.32XOAUTH2 — Gmail SMTP XOAUTH2: 535 5.7.8 Username and Password not accepted / invalid_grant — OAuth token expired or revoked (Email / SMTP)XOAUTH2AADSTS700016 — Azure AD (Entra ID): AADSTS700016 Application not found in the directory (Azure)AADSTS700016400 — HTTP 400 Bad Request (HTTP)400invalid_grant — OAuth 2.0 Error: invalid_grant (Authentication)invalid_grantPHP mail — PHP mail() returns false / emails not delivered (PHP)PHP mail550 5.7.26 — 550 5.7.26 This mail has been blocked because the sender is unauthenticated (SPF/DKIM/DMARC) (Email / SMTP)550 5.7.26421 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…invalid_client — OAuth 2.0 Error: invalid_client (Authentication)invalid_clientinvalid_scope — OAuth 2.0 Error: invalid_scope / insufficient_scope (Authentication)invalid_scopeAADSTS50126 — AADSTS50126: Error validating credentials due to invalid username or password (Azure)AADSTS50126NOAUTH — 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…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…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…Laravel storage — Laravel: The stream or file "storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied (PHP)Laravel storageFailed to serialize user into session — Passport.js: Error: Failed to serialize user into session (Authentication)Failed to serialize…Attempt to read property "x" on null — Laravel/PHP 8: ErrorException: Attempt to read property "name" on null (Laravel)Attempt to read pro…550 5.7.1 — 550 5.7.1 Relaying denied / Message rejected as spam / Unauthenticated email not accepted (Email / SMTP)550 5.7.1450 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…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…DMARC fail: SPF and DKIM not aligned — DMARC: dmarc=fail (p=REJECT) — SPF and DKIM pass but domains are not aligned with the From header (Email / SMTP)DMARC fail: SPF and…DMARC reject — 550 5.7.1 Unauthenticated email is not accepted due to the domain's DMARC policy (p=reject) (Email / SMTP)DMARC rejectinvalid_grant — invalid_grant: Token has been expired or revoked (application default credentials) (Google Cloud / Firebase)invalid_grant504 — 504 5.5.4 Unrecognized authentication type (AUTH mechanism not supported) (Email / SMTP)504AUTH mechanisms — SMTP AUTH fails: mechanism not supported (PLAIN/LOGIN vs CRAM-MD5/NTLM/XOAUTH2) (Email / SMTP)AUTH mechanisms

Directly related (9)

redirect_uri_mismatchAuthentication

OAuth Error: redirect_uri_mismatch

The redirect URI in your OAuth request doesn’t exactly match one registered for the client in the provider’s console.

WordPress: Could not instantiate mail functionEmail / SMTP

WordPress: Mailer Error: Could not instantiate mail function. / wp_mail() failed

WordPress could not send mail through PHP `mail()` because the server cannot hand the message to an MTA or the host disabled the…

AADSTS500113Azure

AADSTS500113: No reply address is registered for the application

The app registration has no redirect URI for the platform being used, so Entra ID has nowhere to send the response.

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.

Key path oauth-private.key does not exist or is not readableLaravel

Laravel Passport: LogicException: Key path "file:///var/www/storage/oauth-private.key" does not exist or is not readable

Passport can't find or read its OAuth signing keys.

4.7.28Email / SMTP

Gmail: 421 4.7.28 Our system has detected an unusual rate of unsolicited mail originating from your IP address

Gmail rate-limited your sending IP because it saw a spike or spam-like patterns.

5.7.32Email / SMTP

Gmail: 550 5.7.32 Your email has been blocked because the From: header domain isn't aligned with SPF or DKIM

Gmail's bulk sender rules require the visible From domain to align with an authenticated SPF or DKIM domain.

XOAUTH2Email / SMTP

Gmail SMTP XOAUTH2: 535 5.7.8 Username and Password not accepted / invalid_grant — OAuth token expired or revoked

SMTP login with an OAuth2 access token fails because the token is expired, revoked or issued for the wrong scope.

Two steps away (27)

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.

400HTTP

HTTP 400 Bad Request

The server could not understand the request because its syntax, headers or body are malformed or invalid.

invalid_grantAuthentication

OAuth 2.0 Error: invalid_grant

The authorization code, refresh token or credentials sent to the token endpoint are invalid, expired, already used or were issued…

PHP mailPHP

PHP mail() returns false / emails not delivered

PHP’s mail() function failed or emails never arrive (spam or rejected).

550 5.7.26Email / SMTP

550 5.7.26 This mail has been blocked because the sender is unauthenticated (SPF/DKIM/DMARC)

Gmail/Outlook rejected the message because SPF and DKIM didn’t pass for the sender’s domain (DMARC failure).

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…

invalid_clientAuthentication

OAuth 2.0 Error: invalid_client

The OAuth server couldn’t authenticate your application — wrong client ID/secret, wrong auth method, or the client doesn’t exist…

invalid_scopeAuthentication

OAuth 2.0 Error: invalid_scope / insufficient_scope

The requested scope is unknown or not allowed for this client — or the token lacks the scope the API endpoint requires.

AADSTS50126Azure

AADSTS50126: Error validating credentials due to invalid username or password

Microsoft Entra ID (Azure AD) rejected the sign-in because the username or password is wrong — or the flow can’t use passwords fo…

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…

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.

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.

Laravel storagePHP

Laravel: The stream or file "storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied

The web server can’t write to Laravel’s storage or bootstrap/cache directories.

Failed to serialize user into sessionAuthentication

Passport.js: Error: Failed to serialize user into session

Passport logged a user in but there’s no serializeUser function (or it didn’t call done), so the session can’t store the user.

Attempt to read property "x" on nullLaravel

Laravel/PHP 8: ErrorException: Attempt to read property "name" on null

You accessed a property on a value that is `null`, typically an empty relationship or a query that found nothing.

550 5.7.1Email / SMTP

550 5.7.1 Relaying denied / Message rejected as spam / Unauthenticated email not accepted

The receiving (or your outgoing) mail server refused the message — relaying isn’t allowed, the sender isn’t authenticated, or it…

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…

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…

DMARC fail: SPF and DKIM not alignedEmail / SMTP

DMARC: dmarc=fail (p=REJECT) — SPF and DKIM pass but domains are not aligned with the From header

Authentication passed for another domain (your ESP's), but neither the SPF Return-Path domain nor the DKIM `d=` domain matches th…

DMARC rejectEmail / SMTP

550 5.7.1 Unauthenticated email is not accepted due to the domain's DMARC policy (p=reject)

The recipient rejected your message because the From domain publishes `p=reject` and your mail failed SPF/DKIM alignment.

invalid_grantGoogle Cloud / Firebase

invalid_grant: Token has been expired or revoked (application default credentials)

The stored refresh token no longer works, so library calls fail until you log in again.

504Email / SMTP

504 5.5.4 Unrecognized authentication type (AUTH mechanism not supported)

The client asked for an SMTP AUTH mechanism the server doesn't offer.

AUTH mechanismsEmail / SMTP

SMTP AUTH fails: mechanism not supported (PLAIN/LOGIN vs CRAM-MD5/NTLM/XOAUTH2)

The client uses an AUTH mechanism the server doesn't advertise, or the server requires TLS before offering PLAIN/LOGIN.