[GH-ISSUE #715] Your cookie is missing the required value __Secure-3PAPISID BUT it is in my cookie #464

Closed
opened 2026-02-27 23:00:56 +03:00 by kerem · 4 comments
Owner

Originally created by @alj032 on GitHub (Jan 8, 2025).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/715

I am logged in with a premium account and getting this error

YTMusicUserError("Your cookie is missing the required value __Secure-3PAPISID")
ytmusicapi.exceptions.YTMusicUserError: Your cookie is missing the required value __Secure-3PAPISID

You can see in the screenshot though that the value is there. I tried in chrome, firefox, and manually creating the browser.json incognito, clearing cookies etc... any ideas?

I am using https://github.com/linsomniac/spotify_to_ytmusic to try and convert my spotify list to youtube music

Is it possible there is another KeyError and the error message is hardcoded?

Originally created by @alj032 on GitHub (Jan 8, 2025). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/715 I am logged in with a premium account and getting this error YTMusicUserError("Your cookie is missing the required value __Secure-3PAPISID") ytmusicapi.exceptions.YTMusicUserError: Your cookie is missing the required value __Secure-3PAPISID You can see in the screenshot though that the value is there. I tried in chrome, firefox, and manually creating the browser.json incognito, clearing cookies etc... any ideas? I am using https://github.com/linsomniac/spotify_to_ytmusic to try and convert my spotify list to youtube music Is it possible there is another KeyError and the error message is hardcoded?
kerem closed this issue 2026-02-27 23:00:56 +03:00
Author
Owner

@sigma67 commented on GitHub (Jan 10, 2025):

Hi, please don't post sensitive credentials here. Send me your creds in a private mail to ytmusicapi@gmail.com and I can take a look

<!-- gh-comment-id:2581957206 --> @sigma67 commented on GitHub (Jan 10, 2025): Hi, please don't post sensitive credentials here. Send me your creds in a private mail to `ytmusicapi@gmail.com` and I can take a look
Author
Owner

@alj032 commented on GitHub (Jan 10, 2025):

Thanks for the heads up, did not think there was anything too valuable there but I was mistaken. Email sent.

<!-- gh-comment-id:2584426646 --> @alj032 commented on GitHub (Jan 10, 2025): Thanks for the heads up, did not think there was anything too valuable there but I was mistaken. Email sent.
Author
Owner

@olterman commented on GitHub (Nov 21, 2025):

I am having the same issue

<!-- gh-comment-id:3564016336 --> @olterman commented on GitHub (Nov 21, 2025): I am having the same issue
Author
Owner

@alj032 commented on GitHub (Nov 21, 2025):

I gave sigma67 my credentials and they were able to get in. I was never able to figure out what I was doing incorrectly and was basically told it was user error, so I never ended up using this tool.

<!-- gh-comment-id:3564066090 --> @alj032 commented on GitHub (Nov 21, 2025): I gave sigma67 my credentials and they were able to get in. I was never able to figure out what I was doing incorrectly and was basically told it was user error, so I never ended up using this tool.
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#464
No description provided.