Gmail Authentication

Hey, I have been trying to add a new gmail account for an email sorting workflow. I have two others that are functioning perfectly but for some reason, the new email does not. The main error I get is that there is an “error fetching emails from gmail” but it is logged in to the google account, with all permission given on google cloud and n8n. I dont know if it is trying to use the same Client ID as my previous emails or what is going but it didnt give me the option to put in client id or secret for this email. Everytime I try to execute it, a bad request pops up. If anyone has an idea would be greatly appreciated

1 Like

Hi @Lounge_Picks am willing to help, can you provide a screenshot of the error you faced.

1 Like

Much appreciated. Attached are all the images for connection of my gmail account with the top being the error I get. Let me know if you need anything else, and appreciate you taking time to help.

Side note: I think it might have something to do with verification / access blocked.

1 Like
  1. try logging into your account on the same web app you’re using so when the login window pops up there’s an option to select the account
  2. enable the relevant scopes in the data access window


3) redo the keys, mb didnt copy paste correctly

2 Likes

I have all the keys enabled but I believe it is the verfication that isn’t allowing me to connect the api’s. Would this be the final solvant: Uploading a video on how I plan to use them?

It is just odd, my personal email that I connected i never had to do any of this. It was simply log in to google, add client ID and Secret and it was done.

Let me know if I am missing something.

1 Like

First time seeing google needing a youtube video url for verification, how did you setup your brand?

Did you setup up the e-mail as a user?


have you done any changes to your setup, aka did you install reinstall the system on docker or locally?

1 Like

It is running through chrome, no docker. Email is set up as a user. It is a business email with a unique @___.com___.com. I am guessing this is the only thing that could be inhibiting it. I have set this same workflow up 2 times over with other emails and there has been no issue whatsoever. I think its just the permission I need to go through for tighter business restrictions. Going to finish that and will let you know. Thank you for your help!

1 Like

I had this issue with Google Cloud when I asked for a broad set of permissions.

Are you using or trying to request permission for your app to some user sensitive information?

When you use your personal emails, this works even without Google App Verification because it’s your personal email account and your data is yours.

When using a business email, google needs to ensure that the application that you are using that is asking for private information is in compliance with its policies.

Perhaps this is what is going on with your business email authentication is that before Google allows your business email the access, it requires you to go through the Publish process where Google has a chance to verify that our app is in compliance with it’s policies.

Hope this helps, good luck.

2 Likes

It might be related to the email address you use. It’s not a real gmail-address, right?
See a similar thread here:

2 Likes

Yep, same instance. Just realized it now doesnt work for my personal acount as well. No long just business. Thank you for the direction, found the thread fixing it now!

Yes, it had me go through google cloud verification with submitting a youtube video on how I planned to use everything, does this sound familiar?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.