Hello, good afternoon. I’ve been trying to automate my personal email for a couple of days and I keep getting this error. I already read a conversation in this forum. I’m going to attach some photos so you can see that the URI addresses are correct, and that the problem happens when I try to re-authorize the Gmail connection in the connections section. I noticed that the Client ID and Secret ID are the same on both sides, but it only gives me an error in the connections area. Could someone help me? Thank you very much.
What have you tried so far?
I’ve tried multiple URI addresses, various credentials, I’ve accepted all the permissions, I’ve followed Make’s help guide, and nothing.
A 400 error happens when the Google OAuth redirect URI doesn’t match exactly. Make sure you copy the redirect URL directly from the Make connection window, no extra slash or space, and confirm your OAuth consent screen is published. Fixing the URI and re, saving the credentials usually solves it.
I’ve already found the solution thanks to ChatGPT’s deep research mode. Basically, you have to delete the connection and create it again. I also added another URI address, and I’m not sure if that affected it, so I’ll leave it here: https://www.make.com/oauth/cb/google-email.
Thanks anyway for trying to help me.
Good job on finding the right OAuth callback URI! You could also add the rest in case you are using the other Google modules in future. Here are the full instructions:
Here are some commonly-needed redirect URIs you need for your Google Cloud Console OAuth app. If you set these up, you can reuse the same GCP app for other Google apps and modules on Make.
You are also required to insert the legacy URLs below from the old Integromat system that not been migrated to Make yet (same as the above list, but replace “make” with “integromat”):
Note 1: Due to inconsistencies in Make’s implementation of the connections, there are two separate entries where has one is google and another ending in a forward slash google/ - you might need one or the other, so we have to use both!
Note 2: Once you’ve set these up, you can use/reuse the same Google OAuth App ID + Secret for all the supported Google connections and modules on Make - you’ll just have to enable the relevant Google APIs!
4. Create New Connection (HTTP, or respective Google module)
You can find the Client ID and Client Secret in the OAuth2 app you created in GCP, on the right-hand side of where you inserted the callback URLs in step 2: