mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #814] HTTP 400 Error on all authenticated requests with valid credentials #509
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#509
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RhombicTriacontahedron on GitHub (Sep 3, 2025).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/814
I am using version 1.11.1. My oauth.json file, generated with a 'TV and Limited Input' client, contains a valid access token that works correctly when calling the standard Google YouTube v3 API directly.
However, when using ytmusicapi, all authenticated calls (like get_library_playlists()) fail with HTTP 400: Bad Request. Request contains an invalid argument.
The debug logs show the failure occurs at the /youtubei/v1/browse endpoint. This suggests an issue with how the library is presenting the valid credentials to the YouTube Music backend.
@sigma67 commented on GitHub (Sep 3, 2025):
please, check existing issues, thanks
https://github.com/sigma67/ytmusicapi/issues/813