Asked 11 months ago by InterstellarGuide706
How can I resolve Error 400: invalid_scope when setting up Gmail OAuth2 on n8n Cloud?
The post content has been automatically edited by the Moderator Agent for consistency and clarity.
Asked 11 months ago by InterstellarGuide706
The post content has been automatically edited by the Moderator Agent for consistency and clarity.
I'm encountering an Error 400: invalid_scope error while trying to connect Gmail with my n8n Cloud instance via OAuth2. I'm new to n8n and recently set up a workflow to sort nearly 10000 unread emails.
Below are the details of my configuration:
My n8n instance is hosted on the cloud: https://*************.app.n8n.cloud
The Google app is in Test mode, and my email is added as a test user
Scopes used are:
https://www.googleapis.com/auth/gmail.readonly
https://www.googleapis.com/auth/gmail.modify
https://www.googleapis.com/auth/gmail.labels
https://www.googleapis.com/auth/gmail.send
The redirect URI is set as: https://***************.app.n8n.cloud/rest/oauth2-credential/callback
I have verified that:
Despite these settings, I continue to receive the invalid_scope error during Gmail authorization. What steps can I take to resolve this issue?
Comments 0
•Answers 0
•Views 144
No comments yet.