Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "C:\Users\J21-AorusWin10\AppData\Local\Programs\Python\Python38\lib\site-packages\pydrive\files.py", line 368, in _FilesInsert
- metadata = self.auth.service.files().insert(**param).execute(
- File "C:\Users\J21-AorusWin10\AppData\Local\Programs\Python\Python38\lib\site-packages\googleapiclient\_helpers.py", line 130, in positional_wrapper
- return wrapped(*args, **kwargs)
- File "C:\Users\J21-AorusWin10\AppData\Local\Programs\Python\Python38\lib\site-packages\googleapiclient\http.py", line 856, in execute raise HttpError(resp, content, uri=self.uri)
- googleapiclient.errors.HttpError: <HttpError 404 when requesting https://www.googleapis.com/drive/v2/files?alt=json returned "File not found:">
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File ".\main.py", line 262, in <module>
- upload_message = google_drive_uploader.upload_file()
- File "C:\Users\J21-AorusWin10\fantasy-football-metrics-weekly-report\integrations\drive.py", line 60, in upload_file
- google_drive_root_folder_id = self.make_root_folder(
- File "C:\Users\J21-AorusWin10\fantasy-football-metrics-weekly-report\integrations\drive.py", line 125, in make_root_folder
- new_root_folder.Upload()
- File "C:\Users\J21-AorusWin10\AppData\Local\Programs\Python\Python38\lib\site-packages\pydrive\files.py", line 285, in Upload
- self._FilesInsert(param=param)
- File "C:\Users\J21-AorusWin10\AppData\Local\Programs\Python\Python38\lib\site-packages\pydrive\auth.py", line 75, in _decorated
- return decoratee(self, *args, **kwargs)
- File "C:\Users\J21-AorusWin10\AppData\Local\Programs\Python\Python38\lib\site-packages\pydrive\files.py", line 371, in _FilesInsert raise ApiRequestError(error)
- pydrive.files.ApiRequestError: <HttpError 404 when requesting https://www.googleapis.com/drive/v2/files?alt=json returned "File not found:">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement