mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #600] 'Address already in use' error when using 'user-top-read' scope #358
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#358
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 @alansberman on GitHub (Oct 30, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/600
I'm using the latest version of spotipy. With a normal scope, e.g.
I'm able to make API calls just fine. However, if I add the 'user-top-read' scope (which I'd like to do to get the current_user_top_tracks() etc.), I get the following error for any API call e.g current_user_playlists() on my Flask backend:
Obviously, without the 'user-top-read' scope I get a 403. Is there a workaround for this?
@Peter-Schorn commented on GitHub (Oct 30, 2020):
This has nothing to do with spotipy. There is another process already using port 8000. You need to find it and kill it. See https://stackoverflow.com/a/19071568
@alansberman commented on GitHub (Oct 30, 2020):
Thanks. I'm not sure why this is only the case when I add the 'user-top-read' scope (as with other scopes I don't have this issue), but have made a workaround.
@Peter-Schorn commented on GitHub (Oct 30, 2020):
When you add another authorization scope, you have to go through the authorization process again. It has nothing to do with the "user-top-read" scope specifically.
@alansberman commented on GitHub (Oct 30, 2020):
Ah okay I see. Thanks again @Peter-Schorn .