71%|████████████████████████████████████████████████████████████▎ | 71/100 [00:03<00:01, 18.09it/s]
Traceback (most recent call last):
File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\Scripts\youtube-up.exe__main__.py", line 7, in
File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\site-packages\youtube_up__main__.py", line 204, in main
video_id = uploader.upload(video_file, metadata, callback)
File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\site-packages\youtube_up\uploader.py", line 167, in upload
encrypted_video_id = self._create_video(scotty_resource_id, metadata, data)
File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\site-packages\youtube_up\uploader.py", line 490, in _create_video
r.raise_for_status()
File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://studio.youtube.com/youtubei/v1/upload/createvideo?key=AIzaSyBUPetSUmoZL-OhlxA7wSac5XinrygCqMo&alt=json
Getting this error while uploading
71%|████████████████████████████████████████████████████████████▎ | 71/100 [00:03<00:01, 18.09it/s] Traceback (most recent call last): File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\Scripts\youtube-up.exe__main__.py", line 7, in
File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\site-packages\youtube_up__main__.py", line 204, in main
video_id = uploader.upload(video_file, metadata, callback)
File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\site-packages\youtube_up\uploader.py", line 167, in upload
encrypted_video_id = self._create_video(scotty_resource_id, metadata, data)
File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\site-packages\youtube_up\uploader.py", line 490, in _create_video
r.raise_for_status()
File "C:\Users\XXXX\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://studio.youtube.com/youtubei/v1/upload/createvideo?key=AIzaSyBUPetSUmoZL-OhlxA7wSac5XinrygCqMo&alt=json