Google Drive 401 Errors: How to Fix Despite No Workflow Changes?

This topic was automatically generated from Slack. You can find the original thread here.

Yesterday and today I’ve been receiving 401s from Google Drive. I’ve tried re-connecting my account in Pipedream but the error is still there. I haven’t made any changes in the workflow lately :thinking_face: Any ideas?

Other google drive actions seem to be working (GET requests). It appears to be something related to uploading files. This is the code I’m using:

Hi , Pipedream offers the Google Drive Upload File that you can use it workflow V2. Would you mind migrating your workflow to workflow V2 and use it? The integrated action is fully tested and the workflow V2 has more advanced feature than V1

Thanks, Leo. But I’d like to leave that as a last resort because the workflow has a lotnof steps and the migration won’t be trivial. Do you have any other ideas I could try?

I tried the default upload file step in v1 and got the same result. It seems to be an authentication problem, but I see no way to debug it

Could you try to create a new workflow v2 and try the Google Drive upload file to see if it works?

I think it’s more related to Pipedream internals so it’s quite hard check

I just tried v2 and got the same error

To reproduce you issue, would you mind sharing your whole action configuration? Also could you confirm that you have the permission to upload to the Drive that you choose?

Yes, it’s my own drive :sweat_smile:

To reproduce you issue, would you mind sharing your whole action configuration?

You mean this?

If you can, could you try to 1) remove Pipedream access from your Google Account, 2) remove your Google Drive account in Pipedream, then 3) Reconnect your Google Drive account to Pipedream?

Just did it. Same error

I can see Google accepted the change, so I’m not sure why it’s not working

I created a test workflow for this. Is there a way to give you access? https://pipedream.com/@nachocab/test-google-drive-upload-v2-p_k2CbmY6

Unfortunately I couldn’t access your workflow

To narrow down the issue even more, could you try to use another Google Drive account?

I think the issue might be related to the downloadURL

I’m getting the file from Zoom and I thing the 401 is coming from there