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

    (@allbil)

    The problem is solved.
    Step 3 is not really correct:
    “In Sender Email Address enter your account’s email address. This should be the same address you login to Google with.”

    This address should be the address you get with the key.

    Now there is another problem, Postman shows following error message and it fails to send a test mail:

    “Oh, bother! Your test message failed to send 🙁 … Communication Error [334].”

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    Hi allbll, I saw 334 pretty often when I was developing this plugin, it’s a nasty one that implies the Client ID was in invalid in some way and for security, there is no additional message from Google to say why. I do know that I can trigger the error by not using my gmail address as the sender.

    I also noticed sometimes that if I attempted to send email with the wrong address, that Gmail would silently invalidate the Client ID. So let’s start there. Go back to the Google Developer Console, delete the old Client ID, create a new Client ID and try it again.

    Also, make sure that the gmail account you are using can login to Gmail on the web. I noticed after creating some new users for testing that if I attempted to create and use a Client ID without ever having logged into Gmail, I would not be able to authenticate.

    Thanks for helping me test!

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    Just to make sure there was nothing funny on Google’s end, I just created a new account, jasontest383@gmail.com, and authentication and test went without a hitch. Let me know if re-creating the Client ID and logging into gmail works for you.

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

The topic ‘Error: invalid_client’ is closed to new replies.