Google drive set up

Hi does anyone know How I can fix this? I hav e done everything in the set up docs yet it still wont work. Thanks.

Hey! Here is what to double check:

  1. Make sure the n8n redirect URL is correctly set:

  2. Make sure you copy-pasted the client secret and client ID without spaces or typos

  3. While at it, also make sure you enabled the Drive API:
    Google Cloud console

Let me know how it goes

Hi I double checked all this and it seems fine. The only other thing that might help u to find an answer is that when I press more details on the screen above it says.

{"error":"invalid_client","error_description":"Unauthorized"}

Could you check your Oauth app (Clients form the side-menu) and check if it’s of type Web Application? If not, could you create a new one with that type and try agian?

Yes it is web application

Thanks, what’s your n8n version?

I would double triple check the client id and a secret, make sure not to copy extra spaces or other whitespaces when you copy these values from GCP console to n8n.

1 Like

i feel so stupid now, I couldn’t view the previous client secret so i created a new one and copied it in and now it works. Sorry for wasting everyones time

1 Like

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