Gmail/Google Drive verification issues (error 400): how to solve

Hey Makers :waving_hand:

Are you running into the “Failed to verify connection. Status Code Error: 400” error in your scenarios featuring Gmail or Google Drive modules? We’ve got some tips to help you overcome it.


Understanding the issue :thinking:

Due to Google’s updated security policy, unpublished apps can only have a 7-day authorization period. After the OAuth security token expires, the connection is no longer authorized and any module relying on it will fail.

Preventing Google connection expiration :locked:

To prevent your Google connection from expiring, you can opt for any of the three options described below.


:purple_circle: Option 1: Opt for a paid Google plan (Google Workspace).


:purple_circle: Option 2: Update the publishing status.

If you are @gmail.com or @googlemail.com user, you need to create an OAuth client on the Google Cloud Platform to set up your connection.

→ You can find more information on how to do that here: Connecting to Google services using custom OAuth client


To avoid weekly reauthorization, you can update the publishing status of your project in Google Cloud Console.

  • If your project is in “Testing” status, reauthorization is required weekly. To avoid this, update the project status to ‘In production’.

  • If your project is in “In production” status, it does not require weekly reauthorization.

To update the status of your project, log into the Google Cloud console, navigate to the “OAuth consent screen,” and click the “Publish app” button next to your Make app.


If you see the notice “Needs verification” once you’ve published your app, you can choose whether to go through the Google verification process for the app or to connect to your unverified app.



When setting your status to “In production”, you don’t need to register as a test user.

You will get a warning when creating your connection but you can proceed anyway by selecting “Show advanced” > “Go to integromat.com”.

:arrow_down:

For more information on publishing statuses, check out the “Publishing status” section of Google’s Setting up your OAuth consent screen help.


Important :police_car_light::police_car_light:

Currently, connecting to unverified apps is possible in Make. However, we cannot guarantee that Google will indefinitely allow connections to unverified apps.


:purple_circle: Option 3: Manually reauthorize the connection every week.

→ Navigate to the “Connections” tab under your Make account, click “Verify”, and then hit “Reauthorize”.

7 Likes
Oauth2 connection, how to refresh oauth2 token automatically
HTTP OAuth2 Module - How to get Refresh Token for Google APIs
Reauthorizing paid Google Workspace connection
Youtube API with HTTP
Google Photos: 403: PERMISSION_DENIED - Request had insufficient authentication scopes
Google Sheets Connecting to Gmail ERROR
How to connect google account to make platform
403 (quotaExceeded): in Blogger
Google Drive OAuth redirect_uri_mismatch even with correct redirect URI — URGENT
I can't sign in with google for Google Drive
Help connecting Make with personal Gmail account – Error 403 after client ID setup
How do I fix this error in my scenario?
Error 400 YouTube Scenarios
How to send an email to myself in scenario
Unable to add connection in google drive upload a file
Can't connect to Google My Business
Error with connecting to my gmail account
Error 400: redirect_uri_mismatch when connecting Google My Business “Watch Reviews” module on Make.com
OAuth Redirect URIs Confirmed Working
Gmail connection to make
Google Restricted Scopes Connection Error: redirect_uri_mismatch
Email module not working in scenario
🚨 OAuth Issue with Make + Google (Firestore / Drive / Gmail / Gsheet)
Error 400 Google Drive
Gmail connection error
Redirect_uri_mismatch When Connecting Google Search Console to Make.com
Slopmachine?
Frequent Google connection issues
Problem token gmail.com
Why is it such a hassle to connect Google Accounts?
Connection error with google sheets
Access denied while connecting gmail to make.com
Error 400 in the uri
Problems with Google Drive connection
Please how do i solve this problem
Sudden F U from Google
Redirect URI Mismatch — https://www.integromat.com/oauth/cb/google-restricted when connecting Gmail
GDrive: Failed to load data
Google Cloude Storage, Requests to verify connection every day
How to setup clients google account without having to reauthorize weekly
Google Reauthorization Required Frequently in Make.com Integration
Google Cloude Storage, Requests to verify connection every day
Google modules
Connection error Gmail with make
Google maps connection not working
Connecting make with gmail
Youtube connection
Make academy google drive connection error - use case 2
:email: Automate Follow-Up of Email Leads a Week After
Reauthorize YouTube connection
Automation upload a pdf file to google drive
Trouble getting authorized by Google
Extending Google connection
My google drive problem
Trying to connect my Gmail account in Make
How to Get the Client ID and Client Secret for the Google Drive Module
Automating Google Drive and having this error
Google connections keep asking for verification
Connecting to Google thru Make
Sending an email in scenario

Hello,
Thanks for the tips.
To be sure : do we have to perform the 3 actions in “Preventing Google connection expiration” or only one of them ?

1 Like

As I understand, those are 3 different options, but could be better described.

Hello @Thibaud_Lemaire thanks a lot for raising this and apologies for not being clear enough in the guide :pray:

As @EliasGomez is saying, these are three different options.

1 Like

Hello,
Thanks for your input.
When setting OAuth publishing status to ‘In production’, the message from Google is:
“Your app will be available to any user with a Google Account.”
Sounds it’s a lot :slight_smile:
How to protect my app from being used by every Google users?
Thanks in advance for your advice

Hey there @pbufferne !

This is correct in comparison to an In Testing app as those can only be accessed if your email is registered as a test user. However, for “any Google account” to access your In Production app, they would either need to be using some integration you developed and made public intentionally or know its Client ID and Secret.

So in practice, if you’re using it only in Make, it’s not quite as they say that just anyone can use it.

I hope this clarifies a bit!

2 Likes

Just to be clear, never share your Client Secret, or screenshot it. This severely compromises the security of the Google Cloud app/project.

5 Likes

Thanks Bruno_T, very clear!

2 Likes

Google asks for “Application home page” and “Application privacy policy link”: “To protect you and your users, Google only allows apps using OAuth to use Authorized Domains. The following information will be shown to your users on the consent screen.”

What home page and privacy policy link should we add here? Also, Google says they also require domain validation. Does this mean we cannot publish the app to ensure the Make connection works in the long term?

Also: is there a way for Make to notify me a day before the connection expires? Disabling my connection last-minute will only make things worse and not really help at all. Ideally we should be notified to refresh the connection (even for the test/weekly scenario).

It does say that you should be able to ignore that aspect and still successfully not have to reauthorize every 7 days. I just setup mine up with the OAuth client and will leave it without the required verification info to see if this works.

I do have a paid Google plan (Google Workspace Starter) and this is still happening to me. I have to reauthorize once a week. Anyone know why?

1 Like

Same thing happening with me, I have a paid account and it keeps disconnecting, please sort this out!

1 Like

I have the same problem. It worked well for almost 1 year. and now it does not work. I tried to do the whole process again from scratch but still did not work. Any ideas?

1 Like

Hi Michaela

Thank you for the helpful summary.

I have a few questions:

  1. I read that these issues happen even with a paid Google Workspace account. Some users mentioned that. Is there new information on why that is?

  2. Why is connecting Google with Make.com so much harder than connecting Google with Zapier?

  3. When choosing Option 2: Update the publishing status Google warns me that the OAuth client is limited to 100 sensitive scope logins until the OAuth consent screen is verified. Does that mean that the scenario will suddenly stop working?

Thank you so much!
Kind regards
Bettina

Hi @Barbara2

Setting the status to “published” is essential when creating a connection through your own project in Google Cloud console. However, please note that we cannot guarantee that Google will allow connections to unverified apps indefinitely. You can find more details in this Help Center article.

If you’re experiencing any issues while updating your publishing status, or if have any additional questions, please open a ticket with us. Our support team will be happy to assist you.

1 Like

Hi @Michaela, I followed all of the steps. The Google Cloud App is in production. It does see that integromat.com has access to 3 permissions.Then the purple button switches to Verifying… for a few seconds, and it switches back to Reauthorize. It’s an infinite loop. The same process is soooo simple in zapier. Why is this so complicated on make.com???

1 Like

I got to the same point and I don’t see that anyone has answered this question. Does anybody have an answer that they can share. Connecting to Gmail is my first step and an hour later I finally got stuck here in the process. Thanks

Did it work for you?

Yes, I’ve had this live for over a year and haven’t had to reauthorize at all and it’s working as intended.

@Melanie_Lavigueur It’s actually a poor design choice on their part, hence confusing. When you set it up and it’s connected that button is simply to help reauthorise. For example, if in testing on a weekly basis and if “published” every 6 months or so.

You will know that reauthorisation is required when you either have issues or when you set up a new gmail module, for example, and see a warning below your connection.