Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HttpError 403 #611

Closed
X-Gorn opened this issue May 24, 2022 · 17 comments
Closed

HttpError 403 #611

X-Gorn opened this issue May 24, 2022 · 17 comments

Comments

@X-Gorn
Copy link

X-Gorn commented May 24, 2022

I tried to upload a file and it is uploaded, but getting this error.

HttpError 403 when requesting https://www.googleapis.com/drive/v3/files/1ihmHyI0kAv2VD3HUIo6n5qqH3BiR5suZ/permissions?supportsTeamDrives=true&alt=json returned "The user does not have sufficient permissions for this file.". Details: "[{'domain': 'global', 'reason': 'insufficientFilePermissions', 'message': 'The user does not have sufficient permissions for this file.'}]">

@X-Gorn
Copy link
Author

X-Gorn commented May 24, 2022

And it says supportsTeamDrives=true, tho i'm not using a team drive (already set IS_TEAM_DRIVE=False)

@BlazingTruth01
Copy link

message

it means your teamdrive is nuked... It's no longer available, check your shared drives

@X-Gorn
Copy link
Author

X-Gorn commented May 24, 2022

@AkashWasim no, i'm not using a team drive. and i said it is uploaded.

@anasty17
Copy link
Owner

This only happening while uploading folder ?

@X-Gorn
Copy link
Author

X-Gorn commented May 28, 2022

all mirror commands, except for /clone

@anasty17
Copy link
Owner

Try with TeamDrive=true and give me feedback

@krishus96
Copy link

Same problem
Using TeamDrive

@anasty17
Copy link
Owner

Edu account?

@anasty17
Copy link
Owner

@krishus96

@gillzxo
Copy link

gillzxo commented Jun 1, 2022

Your SA ACCOUNT GONE CHECK SPAM MAIL BOX

@krishus96
Copy link

Edu account?

You mean by TD
Yes, EDU TD

@krishus96
Copy link

krishus96 commented Jun 1, 2022

Screenshot_20220601-113744_Termius
Same with Org TD

But File is Uploaded to drive

And error cones only with command /clone

@krishus96
Copy link

I have come to a point that it is only happening with gdtot links

@AAMIRFAROOQ1899
Copy link

AAMIRFAROOQ1899 commented Jun 1, 2022

2022-06-01 16:55:41,941 - bot - INFO - Bot Started!
2022-06-01 16:56:51,666 - bot - INFO - https://meg/file/IPtxlRST#Mmu7ciHTqc2dkbe5IFyII8pLxVN3Z36D92Ie2liKOyA
2022-06-01 16:56:55,335 - bot - INFO - Fetching Root Node.
2022-06-01 16:56:55,336 - bot - INFO - Node Name: Cloud Drive
2022-06-01 16:56:56,482 - bot - INFO - File. If your download didn't start, then check your link if it's available to download
2022-06-01 16:57:37,699 - bot - INFO - Download completed: Memory.2022.720p.WEB-HD.x264.900MB-Pahe.in.mkv
2022-06-01 16:57:37,699 - bot - INFO - Upload Name: Memory.2022.720p.WEB-HD.x264.900MB-Pahe.in.mkv
2022-06-01 16:57:37,699 - bot.helper.mirror_utils.upload_utils.gdriveTools - INFO - Authorizing with 48.json service account
2022-06-01 16:57:38,468 - bot.helper.mirror_utils.upload_utils.gdriveTools - INFO - Uploading File: /usr/src/app/downloads/85/Memory.2022.7
20p.WEB-HD.x264.900MB-Pahe.in.mkv
2022-06-01 16:57:47,070 - bot.helper.mirror_utils.upload_utils.gdriveTools - INFO - Total Attempts: 3
2022-06-01 16:57:47,070 - bot.helper.mirror_utils.upload_utils.gdriveTools - ERROR - <HttpError 404 when requesting None returned "File not found:
0AFo31E1md2-5Uk9PVA.". Details: "[{'domain': 'global', 'reason': 'notFound', 'message': 'File not found: 0AFo31E1md2-5Uk9PVA.', 'locationType': 'parameter', 'location': 'fileId'}]">
2022-06-01 16:57:47,072 - bot - INFO - Cleaning Download: /usr/src/app/downloads/85

help

@anasty17
Copy link
Owner

anasty17 commented Jun 1, 2022

I have come to a point that it is only happening with gdtot links

Oh then ok
U need token.pickle from same account used in gdtot. Since code delete the cloned file. U need to know how gdtot works first.
Gdtot clone the file to ur root drive then code clone from root to td or to any target since its public link. After that code delete the first cloned file from gdtot, which u don't have permission to delete it

@anasty17 anasty17 closed this as completed Jun 1, 2022
@X-Gorn
Copy link
Author

X-Gorn commented Jun 2, 2022

Edu account?

yes

@anasty17
Copy link
Owner

anasty17 commented Jun 2, 2022

Edu account?

yes

#611 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants