[GH-ISSUE #814] HTTP 400 Error on all authenticated requests with valid credentials #509

Closed
opened 2026-02-27 23:01:12 +03:00 by kerem · 1 comment
Owner

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.

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.
kerem closed this issue 2026-02-27 23:01:12 +03:00
Author
Owner

@sigma67 commented on GitHub (Sep 3, 2025):

please, check existing issues, thanks

https://github.com/sigma67/ytmusicapi/issues/813

<!-- gh-comment-id:3250129241 --> @sigma67 commented on GitHub (Sep 3, 2025): please, check existing issues, thanks https://github.com/sigma67/ytmusicapi/issues/813
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#509
No description provided.