You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to upload large file (>300MB audiobook):
The library is crashing with:
# Traceback (most recent call last):
# File "/yt-music/upload.py", line 40, in run
# result = ytmusic.upload_song(file)
# ^^^^^^^^^^^^^^^^^^^^^^^^^
# File "/home/nonroot/.local/lib/python3.12/site-packages/ytmusicapi/mixins/uploads.py", line 237, in upload_song
# upload_url = response.headers["X-Goog-Upload-URL"]
# ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
# File "/home/nonroot/.local/lib/python3.12/site-packages/requests/structures.py", line 52, in __getitem__
# return self._store[key.lower()][1]
# ~~~~~~~~~~~^^^^^^^^^^^^^
# KeyError: 'x-goog-upload-url'
#
# During handling of the above exception, another exception occurred:
Expected output: The upload function should return a failed result.
The text was updated successfully, but these errors were encountered:
ptabor
changed the title
Upload crashes on the large file
Upload crashes on the large file: KeyError: 'x-goog-upload-url'
Aug 29, 2024
When trying to upload large file (>300MB audiobook):
The library is crashing with:
Expected output: The upload function should return a failed result.
The text was updated successfully, but these errors were encountered: