• Resolved nozaden

    (@nozaden)


    When using WP Mail SMTP to perform the Gmail authentication process, you will receive the message “A critical error has occurred at this site. Please check your site admin mailbox.” screen and fails.

    Here is the WP Mail SMTP error log.

    Mailer: Google / Gmail
    {
    "error": {
    "code": 401,
    "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
    "errors": [
    {
    "message": "Login Required.",
    "domain": "global",
    "reason": "required",
    "location": "Authorization",
    "locationType": "header"
    }
    ],
    "status": "UNAUTHENTICATED",
    "details": [
    {
    "@type": "type.googleapis.com/google.rpc.ErrorInfo",
    "reason": "CREDENTIALS_MISSING",
    "domain": "googleapis.com",
    "metadata": {
    "method": "caribou.api.proto.MailboxService.SendMessage",
    "service": "gmail.googleapis.com"
    }
    }
    ]
    }
    }

    We would appreciate it if you could let us know the cause and the countermeasure.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @nozaden,

    Thanks for reaching out! It’s possible that there are two separate, unrelated issues here.

    1. Critical Error Message: When you get the critical error message, you should get an email in your WordPress admin email address with some details about the cause of the error. Can you please share the error message in that email to provide more context?
    2. Google Error in Your Message: Request is missing required authentication credential: This error usually occurs when you don’t have the Google connection authenticated. To authorize your connection, please go to your WP Mail SMTP Settings page (WP Mail SMTP > Settings).

      On this page, scroll down and click the?Allow plugin to send emails using your Google account?button and?Save Settings?to authenticate your connection. (https://i.imgur.com/y9xKpqV.png)

      This will trigger Google to launch a pop-up to continue the connection setup. In case it helps, this part of our guide provides additional details on these steps: https://wpmailsmtp.com/docs/how-to-set-up-the-gmail-mailer-in-wp-mail-smtp/#Granting_Your_Site_Google_Gmail_Permissions

    I hope this helps. Thanks ??

    Plugin Support Victoria Sakal

    (@sakalvictoria)

    Hi, @nozaden!

    We haven’t heard from you in a while, so I’m going to go ahead and close out this thread for now. If you’re still having trouble, feel free to respond here at your convenience and we’ll be happy to help.

    Have a great day!

    Thread Starter nozaden

    (@nozaden)

    Resolved.
    The cause was the plugin “Check & Log Email”. By disabling this plugin, I was able to authenticate with Google.

    Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.