How to Fix Restricted Gmail Scopes in Make.com
If you’re encountering issues with restricted Gmail scopes in Make.com, you’re not alone. Fortunately, fixing this problem is quick and easy. In this guide, we’ll walk you through the steps to resolve these issues and get your Gmail account connected to Make.com seamlessly.
What is Make.com?
Make.com is a powerful automation tool designed to help you automate various tasks. You can integrate your Gmail account with other applications like Google Sheets, ChatGPT, and more. Before diving into the tutorial, make sure you have an account on Make.com and are logged in.
Connecting Your Google Account
Once you’re logged into Make.com, navigate to the dashboard and click on the "Create New Scenario" button. This action will take you to a page where you can start automating your tasks. If you want to integrate Google Drive into your automation process, for example, you’ll need to connect your Google account to Make.com.
- Click on "Create a Connection."
- Choose "Sign in with Google" and select the account you want to connect.
However, if you see an error stating that "It is not possible to use restricted scopes with customers at gmail.com," don’t worry—this can be fixed.
Steps to Resolve Restricted Scopes Issue
To resolve the issue with restricted Gmail scopes, you’ll need to set up a project in Google Cloud. Here’s how:
- Visit Google Cloud: Open your browser and go to Google Cloud.
- Create an Account: If you’re not already registered, sign up for a Google Cloud account.
- Access the Console: Once registered, click on "Console" to access your Google Cloud projects.
- Create a New Project:
- In the Console, click on the "Project" tab.
- Click the "New Project" button and give your project a name (e.g., "My Make Project").
- Click on "Create" to finalize this process.
Enabling APIs
After creating your project, follow these steps to enable the necessary APIs:
- Access APIs & Services: Click on the hamburger menu in the top left and navigate to "APIs & Services."
- Enable Google Drive API:
- Search for “Google Drive API” and click on it.
- Click "Enable" to activate the API.
- Enable Gmail API:
- Search for “Gmail API” and click on it.
- Again, click "Enable" to allow Gmail API access.
Configuring Credentials
Now that your APIs are enabled, you need to set up the OAuth consent screen and credentials:
-
Configure the Consent Screen:
- Click on "Configure Consent Screen."
- Choose "External" and click "Create."
- Enter your app name (e.g., "Make App") and support email.
- In the "Authorized domains," add "make.com" and any other relevant domains.
- Fill in your contact information, then click "Save and Continue."
-
Add Scopes:
- Click on "Add or Remove Scopes."
- Search for “Google Drive” and enable all related scopes.
- Do the same for “Gmail” and enable those scopes as well.
- Click "Update."
-
Add Test Users:
- Click "Add User" and input an email address.
- Click "Save and Continue."
-
Finish Setting Up:
- Review the summary of your app and click "Back to Dashboard."
- Create Credentials:
- Click on "Create Credentials" and select "OAuth Client ID."
- Choose "Web Application" and name it (e.g., "Make App").
- Under "Authorized Redirect URIs," add the necessary URLs (details are usually provided in the documentation).
- Click "Create" and copy the Client ID and Client Secret.
Connecting to Make.com
Return to Make.com and ensure that "Show Advanced Settings" is enabled. Paste the copied Client ID and Client Secret into the respective fields. Then, click "Sign in with Google" using the same account connected to Google Cloud.
Conclusion
If you’ve followed these steps, you should now be able to connect your Google Drive and Gmail to Make.com without running into restricted scope issues. If you found this guide helpful, consider subscribing for more tips and tricks. Thank you for reading, and happy automating!