-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
credentials in the oauth.txt file are missing or wrong #2
Comments
I tried copying request headers on Firefox too but it didn't gave me any errors. I have no idea why is that happening. user_playlists = yt.get_library_playlists(None)
for playlist in user_playlists:
if playlist['title'] == playlist_name + " - Spotify":
playlist_id = playlist['playlistId']
break
if not playlist_id:
playlist_id = yt.create_playlist(playlist_name + " - Spotify", playlist_description) Then send the error? |
I'm sorry, I misunderstood the error, can you replace the lines 13-17 with this instead: ytmusicapi.setup(filepath="oauth.json", headers_raw=file.read()) |
That was not the fix, just to see the more detailed error. I tested the code and it works fine. Perhaps a dependancy issue?
|
First of all thanks for creating this tool!
"The credentials in the oauth.txt file are missing or wrong. Please paste the YouTube credentials into the oauth.txt file correctly. Quitting..."
Pretty sure I did everything correct, logged in YT music.
Sorry if I redacted too much, please tell me if you need more info.
The text was updated successfully, but these errors were encountered: