mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 07:16:00 +03:00
[GH-ISSUE #380] Youtube API returning 401 #298
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#298
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 @pickpj on GitHub (Apr 18, 2023).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/380
After setting up the youtube API my header looks like the following [token redacted]:
Then when running some command the following error is output
Putting the number in quotes fixes this error; however, a different error is output after searching youtube for the tracks
I imagine it has to do with the access token, but I am unsure how to proceed.
P.S. The URL for setting up the youtube API has a comma appended at the end, which messes up the link.

Edit: Img of URL
Also forgot to mention I am using python 3.10.10
@sigma67 commented on GitHub (Apr 18, 2023):
Are you sure you didn't add the comma by accident? I'll have to check about the integer bug.
@sigma67 commented on GitHub (Apr 19, 2023):
Hi, please update
ytmusicapito 1.0.1 and try again :)