[GH-ISSUE #158] Continuations broken in get_library_upload_albums? #118

Closed
opened 2026-02-27 22:08:08 +03:00 by kerem · 2 comments
Owner

Originally created by @impliedchaos on GitHub (Jan 23, 2021).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/158

This was working yesterday, so I don't know if it's just specific to my google account.

from ytmusicapi import YTMusic
y = YTMusic('auth.json')
a = y.get_library_upload_albums()
# Above works fine.
a = y.get_library_upload_albums(limit=100)
# But the continuations generates the following error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pi/ytmusicapi/ytmusicapi/mixins/uploads.py", line 89, in get_library_upload_albums
    parse_func))
  File "/home/pi/ytmusicapi/ytmusicapi/parsers/utils.py", line 107, in get_continuations
    response = request_func(additionalParams)
  File "/home/pi/ytmusicapi/ytmusicapi/mixins/uploads.py", line 85, in <lambda>
    endpoint, body, additionalParams)
  File "/home/pi/ytmusicapi/ytmusicapi/ytmusic.py", line 116, in _send_request
    raise Exception(message + error)
Exception: Server returned HTTP 400: Bad Request.
Request contains an invalid argument.

Thanks!

Originally created by @impliedchaos on GitHub (Jan 23, 2021). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/158 This was working yesterday, so I don't know if it's just specific to my google account. ```python from ytmusicapi import YTMusic y = YTMusic('auth.json') a = y.get_library_upload_albums() # Above works fine. a = y.get_library_upload_albums(limit=100) # But the continuations generates the following error: ``` ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/pi/ytmusicapi/ytmusicapi/mixins/uploads.py", line 89, in get_library_upload_albums parse_func)) File "/home/pi/ytmusicapi/ytmusicapi/parsers/utils.py", line 107, in get_continuations response = request_func(additionalParams) File "/home/pi/ytmusicapi/ytmusicapi/mixins/uploads.py", line 85, in <lambda> endpoint, body, additionalParams) File "/home/pi/ytmusicapi/ytmusicapi/ytmusic.py", line 116, in _send_request raise Exception(message + error) Exception: Server returned HTTP 400: Bad Request. Request contains an invalid argument. ``` Thanks!
kerem closed this issue 2026-02-27 22:08:08 +03:00
Author
Owner

@sigma67 commented on GitHub (Jan 24, 2021):

It is working perfectly fine for me. Has your user interface on the web changed for albums? Perhaps you're part of a beta test.

<!-- gh-comment-id:766395358 --> @sigma67 commented on GitHub (Jan 24, 2021): It is working perfectly fine for me. Has your user interface on the web changed for albums? Perhaps you're part of a beta test.
Author
Owner

@impliedchaos commented on GitHub (Jan 24, 2021):

And it's working perfectly again for me today. I love Google. 🙄 Closing.

<!-- gh-comment-id:766399170 --> @impliedchaos commented on GitHub (Jan 24, 2021): And it's working perfectly again for me today. I love Google. 🙄 Closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#118
No description provided.