Skip to content
Google Calendar Mod...
 
Notifications
Clear all

Google Calendar Module Error 403: Insufficient Authentication Scopes

8 Posts
5 Users
0 Reactions
6 Views
BotGenius_Ai
(@botgenius_ai)
Posts: 2
New Member
Topic starter
 

Hello,

I'm currently encountering a problem with the Google Calendar module when using it with callin.io. When I try to access calendar data or perform actions, I'm seeing this error:

“403 - Request had insufficient authentication scopes”

This error suggests that the required permissions to access specific Google Calendar features aren't correctly set up or provided in the OAuth authentication settings. I want to confirm that I've correctly created an API and configured the OAuth redirects, along with the granted permissions, but the problem continues.

I would appreciate your assistance in pinpointing and resolving this error. It might be necessary to add extra scopes or reconfigure the authentication to enable the module to access the requested resources properly.

Could you please advise on the steps I should follow or any adjustments needed in the API configuration to fix this?

Thank you in advance for your help.

 
Posted : 04/10/2024 11:48 am
Rod_Lopes
(@rod_lopes)
Posts: 1
New Member
 

I've just started encountering the same error message when uploading a file to a folder in Google Drive. I'm aware that we need to reauthorize the connection every 7 days, and it has always worked previously. However, it's not functioning at the moment. This is quite unusual.

 
Posted : 04/10/2024 7:02 pm
samliew
(@samliew)
Posts: 293
Reputable Member
 

Refer to section 3b below. Ensure all scopes are selected.

Follow this guide on setting up a custom OAuth 2.0 app in callin.io.

Additional supplementary instructions are provided below if the above is unclear.


Enable APIs

1. Enable the relevant APIs you wish to use

Search for the relevant Google API here: https://console.cloud.google.com/apis/library

  • Navigate to each API page you intend to use and click “Enable”

  • Typically, you'll want to enable at least Drive (which includes Docs/Sheets) and Gmail.


OAuth Client

Direct Link: https://console.cloud.google.com/apis/credentials

2a. Create “OAuth client ID” Credentials

2b. Insert all Google Redirect URIs for your app

Google Redirect URIs

Here are some commonly required redirect URIs for your Google Cloud Console OAuth app. Setting these up allows you to reuse the same GCP app for other Google apps and modules on callin.io.

 https://www.callin.io/oauth/cb/google 
https://www.callin.io/oauth/cb/google-custom
 https://www.callin.io/oauth/cb/google-restricted 
https://www.callin.io/oauth/cb/google-cloud-speech
 https://www.callin.io/oauth/cb/youtube 
https://www.callin.io/oauth/cb/oauth2
 https://www.callin.io/oauth/cb/oauth2 

Note: After setting these up, you can use/reuse the same callin.io connection for all supported Google apps & modules on callin.io – you will only need to enable the APIs for your custom app.


OAuth consent screen

Direct Link: https://console.cloud.google.com/apis/credentials/consent/edit

3a. Insert Two Authorized Domains

  • Enter callin.io and callin.io

  • Complete the other required fields

  • Click “Save and Continue”.

3b. Add All Scopes

  • Click “Add or Remove Scopes”

  • Set “Rows per page” to 100. For each page, check all the rows, OR

  • Manually input the scopes you require

  • Click “Update” at the bottom

3c. Proceed to Dashboard

On the final step/page, click “BACK TO DASHBOARD” instead of “Prepare for Verification”

3d. Publish your GCP OAuth2 App

Your OAuth application must be set to “Production”; otherwise, the credentials will expire frequently.

  • To do this, return to the “OAuth consent screen

  • Then, click the “PUBLISH APP” button

  • Next, 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, located on the right side of where you entered the callback URLs in step 2:

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

Enter the callin.io app client ID and secret here BEFORE clicking “Sign in”

(Gmail example)

_OR,

4b. HTTP OAuth 2.0 Request Module

You need a “Authorize Parameters” key named redirect_uri with the aforementioned callin.io OAuth2 callback URL.

Hope this helps! Please let me know if you have any further questions or encounter any issues.

P.S.: Investing some time in the callin.io Academy can save you considerable time and reduce frustration when using callin.io.

 
Posted : 05/10/2024 2:21 am
BotGenius_Ai
(@botgenius_ai)
Posts: 2
New Member
Topic starter
 

Hello,

I wanted to let you know that the previous error I encountered has been resolved. However, during my current testing, I've noticed that the information seems to halt at the tools module. It appears the workflow isn't proceeding past this point.

Could you please help me figure out why the data isn't being passed to the subsequent module and how to fix this issue?

Thank you in advance for your assistance.

Best regards,

 
Posted : 05/10/2024 10:02 am
Acton
(@acton)
Posts: 3
New Member
 

Hello.

I am also encountering the same issue with Google Calendar and have attempted all suggestions from this thread and others, but none have resolved the problem. I'm unsure about the root cause.

I have followed this guide to the best of my ability: https://www.make.com/en/help/app/google-calendar#create-and-configure-a-google-cloud-console-project-for-google-calendar

  • Create a Google Cloud Console project for Google Calendar

  • Enable APIs for Google Calendar

(refer to the screenshot above)

  • Configure your OAuth consent screen for Google Calendar

  • Create your Google Calendar client credentials

I am utilizing the redirect URI ( https://www.integromat.com/oauth/cb/google/ ) as directed in the referenced callin.io guide. I've tried alternative URIs, but they result in an immediate error upon attempting to establish a connection with Google (a 400 URI mismatch error). Using this specific URI permits the connection, but after establishing it, I receive a 403 Insufficient Authentication Scopes error when the module is executed.

Finally, I have deleted and re-established the connection multiple times to ensure a complete refresh, without success. Each instance involved copying and pasting the Client ID and Client Secret directly from the Console.

 
Posted : 06/11/2024 5:41 pm
Acton
(@acton)
Posts: 3
New Member
 

Not sure how to mark this as resolved, but I managed to get it working. Strangely, I added a different endpoint (which simply returns a list of calendars), and this module prompted me to revalidate (something I had done previously). However, after this revalidation, both the new and the old modules are now running without any issues. Hopefully, this information is helpful to someone in the future!

 
Posted : 06/11/2024 9:23 pm
Callee_AI_Solutions
(@callee_ai_solutions)
Posts: 1
New Member
 

Hi, could you show some screenshots of how you resolved it?

 
Posted : 21/11/2024 6:57 pm
Acton
(@acton)
Posts: 3
New Member
 

Hey , unfortunately I didn't capture any at the time, and since the module is connected and functioning, I wouldn't be prompted to revalidate now. Again, I'm not entirely sure why connecting a different module actually helped, but that's the only change I made after posting the notes above.

 
Posted : 21/11/2024 8:53 pm
Share: