• Resolved therealsmarthome

    (@therealsmarthome)


    My integration between post-smtp and gmail suddently stopped working and it is now returning a 401 (Request is missing required authentication credential). I have reviewed the setup and everything (Client ID, Client Secret, etc) looks correct. This is the error when trying to send a test email:

    {
    "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": {
    "service": "gmail.googleapis.com",
    "method": "caribou.api.proto.MailboxService.SendMessage"
    }
    }
    ]
    }
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @therealsmarthome,

    I hope you are doing well.

    Thank you for contacting us regarding the issue you are facing. It seems like your credentials have expired or changed. Please re-configure the plugin using this documentation.

    This step will resolve your issue. Let us know if the issue persists.

    Thanks and regards,
    Support Team – WPExperts

    I had the same issue above.

    Reauthing the account worked by resetting PostSMTP in WP backend, but I would’ve thought it would never need reauthentication.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sending emails using gmail stopped working (error 401)’ is closed to new replies.