# Connecting google api error 400

**URL:** <https://community.make.com/t/connecting-google-api-error-400/74478>\
**Category:** Questions\
**Tags:** gmail\
**Created:** [March 9, 2025, 11:36am UTC](https://community.make.com/t/connecting-google-api-error-400/74478 "2025-03-09T11:36:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giorgi\_Gamsakhurdash](https://avatars.discourse-cdn.com/v4/letter/g/71e660/32.png) [@Giorgi\_Gamsakhurdash](https://community.make.com/u/Giorgi_Gamsakhurdash)\
**Post date:** [March 9, 2025, 11:36am UTC](https://community.make.com/t/connecting-google-api-error-400/74478/1 "2025-03-09T11:36:34Z")

</div>

Hi, I’m trying to create an internal ticketing system in clickup. Here is my current setup

1.When I receive an email the task is create in Clickup with sender Email, content of email, message ID, thread ID  
2. I need make to send email using http/ OAuth 2.0 with the thread ID so that all the replies will be kept in the thread.

the issue I’m facing:

When I try to connect OAuth 2.0 i get the error\_400:

Some requested scopes were invalid. {invalid=[[https://www.googleapis.com/auth/gmail.send,https://www.googleapis.com/auth/gmail.modify](https://www.googleapis.com/auth/gmail.send,https://www.googleapis.com/auth/gmail.modify)]} [Learn more about this error](https://developers.google.com/identity/protocols/oauth2)

If you are a developer of Ticketing, see [error details](https://accounts.google.com/).

Error 400: invalid\_scope

I have set up the scopes in google console, enabled Gmail api, and set up the scopes in make as well.

Also I have set up the  
Authorize parameters

---

<div class="post-metadata">

**Author:** ![Emmie\_Aderemi](https://avatars.discourse-cdn.com/v4/letter/e/9de0a6/32.png) [@Emmie\_Aderemi](https://community.make.com/u/Emmie_Aderemi)\
**Post date:** [March 9, 2025, 10:25pm UTC](https://community.make.com/t/connecting-google-api-error-400/74478/2 "2025-03-09T22:25:57Z")

</div>

Hey @Giorgi_Gamsakhurdash when using OAth 2.0 you have to use the right HTTPs to connect if you are just using the make request HTTPs it might not works, [here](https://web.facebook.com/profile.php?id=100012934535578)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [March 10, 2025, 3:55am UTC](https://community.make.com/t/connecting-google-api-error-400/74478/3 "2025-03-10T03:55:20Z")

</div>

Welcome to the Make community!

How are you setting up the connection? Is it something like this?

 ![Screenshot_2025-03-10_110354](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/1/917b1c67c6ca5b9306af7e9f6188d7c2e3f3cb6e.png)

**If yes, try changing the “Scope separator” to a space or plus.**

For more information, follow this [main guide on how to set up a custom OAuth 2.0 custom app in Make](https://www.make.com/en/help/apps/it-and-development/g-suite-admin#connecting-to-google-services-using-oauth2).

Provided below are additional supplementary instructions in case the above isn’t clear enough.

* * *

# Enable APIs

## 1. Enable the relevant APIs that you want to use

**Search for the relevant Google API here:** [https://console.cloud.google.com/apis/library](https://console.cloud.google.com/apis/library)

- Go to each API page that you want to use, end click “Enable”

- Usually you’ll want to enable at least [Drive](https://console.cloud.google.com/apis/api/drive.googleapis.com) (includes Docs/Sheets) and [Gmail](https://console.cloud.google.com/apis/api/gmail.googleapis.com).

* * *

# OAuth Client

**Direct Link:** [https://console.cloud.google.com/apis/credentials](https://console.cloud.google.com/apis/credentials)

## 2a. Create “OAuth client ID” Credentials

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/c/0c29e0e6bb6d6b4b62461a894fb490c1e06dd048.png)

## 2b. Insert all the Google Redirect URIs for your app

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/8/2807e342c37d019fedbe8847450f96a19c696ffe.png)

### Google Redirect URIs

Here are some commonly-needed redirect URIs you need for your [Google Cloud Console](https://console.cloud.google.com/) OAuth app. If you set these up, you can reuse the same GCP app for other Google apps and modules on Make.

```plaintext
https://www.make.com/oauth/cb/oauth2
https://www.make.com/oauth/cb/google
https://www.make.com/oauth/cb/google/
https://www.make.com/oauth/cb/google-custom
https://www.make.com/oauth/cb/google-restricted
https://www.make.com/oauth/cb/google-cloud-speech
https://www.make.com/oauth/cb/google-search-console
https://www.make.com/oauth/cb/google-analytics-4
https://www.make.com/oauth/cb/google-ads2
https://www.make.com/oauth/cb/google-ads2/
https://www.make.com/oauth/cb/youtube
https://www.make.com/oauth/cb/chrome

```

**Note:** 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 insert both!

**Note:** You are also likely required to insert the legacy values below from the old Integromat system that might not have been migrated to Make yet (simply the above list, but replace `make` with `integromat`)

```plaintext
https://www.integromat.com/oauth/cb/oauth2
https://www.integromat.com/oauth/cb/google
https://www.integromat.com/oauth/cb/google/
https://www.integromat.com/oauth/cb/google-custom
https://www.integromat.com/oauth/cb/google-restricted
https://www.integromat.com/oauth/cb/google-cloud-speech
https://www.integromat.com/oauth/cb/google-search-console
https://www.integromat.com/oauth/cb/google-analytics-4
https://www.integromat.com/oauth/cb/google-ads2
https://www.integromat.com/oauth/cb/google-ads2/
https://www.integromat.com/oauth/cb/youtube
https://www.integromat.com/oauth/cb/chrome

```

**Note:** 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](https://console.cloud.google.com/apis/library)!

* * *

# OAuth consent screen

**Direct Link:** [https://console.cloud.google.com/apis/credentials/consent/edit](https://console.cloud.google.com/apis/credentials/consent/edit)

## 3a. Insert Two Authorised Domains

- Insert `make.com` and `integromat.com`

- Fill in other required fields

- Click “Save and Continue”.

## 3b. Add All Scopes

- Click “Add or Remove Scopes”

- Select 100 “Rows per page”, for each page, check all the rows, OR

- Manually type in the scopes you need

- Click “Update” at the bottom

## 3c. Step through and go to dashboard

At the last step/page, click “ **BACK TO DASHBOARD** ” instead of “Prepare for Verification”  
 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/c/0c8fe7b5be5b0fec74f940524cefe93259806a7c.png)

## 3d. Publish your GCP OAuth2 app

You will need to set your OAuth application to “Production”, otherwise the credentials expire very frequently.

- To do this, go back to “[OAuth consent screen](https://console.cloud.google.com/apis/credentials/consent)”

- Then click the “ **PUBLISH APP** ” button

- Then click the “ **CONFIRM** ” button

* * *

# 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:

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/e/aeb4ff9ca8e4f5ddf3badd144b4f5a4fb19f27ef.png)

## 4a. Specific Google module (Sheets, Docs, Drive, Gmail, etc.)

Insert the GCP app client ID and secret here **BEFORE** clicking “Sign in”

_(Gmail example)_

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/c/a/caa6efb63fb50b12399549ee627da8bb29189a13.png)

**OR,**

## 4b. HTTP OAuth 2.0 Request module

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/9/89a1c01d161c36bc11d1e7460256be7e02258d18.png)

You need a “Authorize Parameters” key of `redirect_uri` with the above Make OAuth2 callback URL.

 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/3/43df2cd92abedfda53a23fc12991dbfb13eff1be.png)

If you need further assistance, please provide the following:

## 1. Relevant Screenshots

Could you please share screenshots of your connection setup and scenario? Also include screenshots of any error messages, module configuration fields, and any filter settings. We need to see what you’re working with to give you the best advice.

You can upload images here using the Upload icon in the text editor:  
 ![](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/0/20b53cdf28d223e85fc9654c350eadebd37f5d3c.png)

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the [Make Academy](https://academy.make.com) will save you lots of time and frustration using Make.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [June 8, 2025, 2:57am UTC](https://community.make.com/t/connecting-google-api-error-400/74478/4 "2025-06-08T02:57:30Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


