mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 08:35:49 +03:00
[GH-ISSUE #762] "time.sleep(retry_after)" and "Invalid client" Error #465
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#465
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 @Naka7su on GitHub (Dec 24, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/762
Content
Nice to meet you.
"My user information(?)" suddenly doesn't work in "spotipy".
For example, nothing happens inputing user id in "sp.user_playlists()", and
"sp.user_playlist_add_tracks()" doesn't reference my "playlist_id".
So I run "control+c", and the program say "~... time.sleep(retry_after)".
This result is the same about any program.
So I tried re-creating the dashboard and re-authenticating again, but "Invalid client" occurred.
I don't know what to do.
The Code
(the following is first code) → "time.sleep(retry_after)" Error
(the following is second code) → "Invalid client" Error
Other
It happened while I was writing and running the program.
Maybe, I was stopped from using the program because of the large number of requests?
I’d like to ask you for your help on this problem please.
Environment
Premium
Macbook Air (M1, 2020)
macOS Monterey 12.0.1
I'm a beginner in programming and I think they are poorly coded, and this is my first time using "Github".
So please forgive me for any unsightly parts.
@Naka7su commented on GitHub (Dec 29, 2021):
I was able to solve the problem on my own.
By clearing the cache file in my home directory, the error does not appear!!
@m-riley04 commented on GitHub (Nov 10, 2022):
Hey, I don't know if you're even still on Git but I'm having a similar issue where my program stalls/hangs whenever it tries to pull an image from a URL. I tried clearing my cache in the file directory, but is there another place I should clear it?