Trouble with Google Drive Login

Describe the problem/error/question

Error message trying to create google drive credentials

What is the error message (if any)?

Error 403: access denied

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

{
“nodes”: [
{
“parameters”: {
“driveId”: {
“__rl”: true,
“mode”: “list”,
“value”: “My Drive”
},
“folderId”: {
“__rl”: true,
“mode”: “list”,
“value”: “root”,
“cachedResultName”: “/ (Root folder)”
},
“options”: {}
},
“type”: “n8n-nodes-base.googleDrive”,
“typeVersion”: 3,
“position”: [
-360,
1280
],
“id”: “ecfbcf4f-e195-428a-bc95-0909d5ccdb2c”,
“name”: “Upload Google Drive”,
“credentials”: {
“googleDriveOAuth2Api”: {
“id”: “ve3xd0BpRNYPFy9c”,
“name”: “Google Drive account”
}
}
}
],
“connections”: {},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “87c83e1febda172687fcb8ce9a00c9b69b2af0ad40bf372f4650ae8afc0ddebd”
}
}

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
1 Like

Hi @B_Alexander_Ingram

You should be able to add yourself as a test user for n8n to connect. Here’s an image.

if this post helps solve your issue, please mark it as the solution so others can benefit from it

Also, you can put your workflow in a code block so it will render here. here’s a gif on how to do that.

pasteworkflow

2 Likes

Hello rbreen and thanks for the response. I’ve added my email as a test user, and was able to connect my google account. But, still get error 403 Forbidden when I try to login. Is there a security setting I need to tuen on now?

1 Like

@B_Alexander_Ingram
Is your google app in test mode or published?

Make sure it is in test mode.

Also can you copy the error details?

1 Like

Yes, I have it in testing. Here is the screen shot.

1 Like

@B_Alexander_Ingram
Can you copy the error details?

There’s a lot of other places that can be causing the error.

How about the redirect url. Did you add that?

Here’s the error in n8n. I remember reading somehting about setting the scopes


?

@B_Alexander_Ingram

In google console search for google drive api and enable it. Let me know if that works

1 Like

@B_Alexander_Ingram

you also need this scope.

if this post helps solve your issue, please mark it as the solution so others can benefit from it

2 Likes

Thank you so much! I think I am almost there. I am missing the (…/auth/youtube.download) I can’t find it in the list.

1 Like

@B_Alexander_Ingram

You don’t need that. That was for another project of mine. Try testing it now.

Thank you so much rbreen! Your assistance got me up and running quickly. I really appreciate the help and I wasn able to get things working and the video uploaded. Your’re the best!! :victory_hand:Here’s the final result: https://youtube.com/shorts/ebOYE61O6JY?feature=share

Great! If you can, mark the answer that helped most as the solution, and it helps me if you click the heart button on any other reply that was helpful to you.

1 Like

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