Having problems with accessing google drive due to scope issues

Describe the problem/error/question

I apologize in advance–I am a massive rooking still trying to learn the basics. I have read a lot and watched a lot of videos but can’t figure out what is going on with my inability to access Google drive. My workflow was previously accessing it, as it shows some of the Google Drive folders within the node settings. However, I’m not sure what I changed, but it stopped functioning on me and has not functioned since that time. It says granted access scopes do not give access

What is the error message (if any)?

Forbidden - perhaps check your credentials?

The granted scopes do not give access to all of the requested spaces.

Please share your workflow

Share the output returned by the last node

Can’t get there.

1 Like

Hello @DanGabris thanks for reaching out and sorry to see you’re having this error. it’s very possible google has since revoked app permissions over time or the login credentials have expired.

If re-logging isn’t working for you I would recommend to remove the node entirely and re-create it.

remove any prior credentials stored. Otherwise Please share any screenshots of the error so I can assist further.

Here on stand by,

1 Like

Hi @DanGabris Welcome!
I agree with @Jekylls , but it seems like you need to add google drive API scopes such as Google Docs, Google Sheets, and Google Slides. Like goto your google cloud console API and services Library → enable both the google docs API and google drive API for your project also in your Oauth consent screen → data access add these scopes:

  • https://www.googleapis.com/auth/documents

  • https://www.googleapis.com/auth/drive

  • https://www.googleapis.com/auth/drive.file

And then once this is done reconnect with your credentials in n8n and that should work, also make sure that your project is in production mode.

2 Likes

Thank you so much. In trying to learn the various programs and functionality, I guess I apparently created another project in Google Cloud, which had all the permissions, but it was not linked to my N8N. Once I realized that it was a different project linked to N8N, I added the permissions and now it works. I really appreciate the help!

1 Like

@DanGabris Glad it worked consider marking that as a solution, cheers!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.