• Resolved madhazelnut

    (@madhazelnut)


    Suddenly emails from a PostSMTP/Gmail site stopped arriving. Inspection showed:

    { "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" } } ] } } 

    The client-id/secret pair is still in place as I last left it, hence the title of this ticket.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter madhazelnut

    (@madhazelnut)

    Reproducible (at least) with 3.9.2 and 3.9.5

    Thread Starter madhazelnut

    (@madhazelnut)

    Closing as user error. Google Cloud App was not completely configured / production mode.

    Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hi @madhazelnut ,

    It does appear that the issue may be related to expired or invalidated OAuth tokens.

    As a next step, please generate a new Client Secret in your Google Cloud Console and reconfigure the Gmail API authentication in Post SMTP using the updated credentials. Once the new credentials are entered, please re-authenticate the Gmail account.

    After completing the setup, please test sending an email and let us know whether the issue persists.

    If you continue to experience the “401 UNAUTHENTICATED” error, please share the Diagnostic Test Report with us so we can investigate further.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.