Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
My Question or Issue
I created a small app. A part of it displays a list of a user's playlists for them to select from. First I had issues with users being able to log in again as I had a cache folder in my git repository that was pushing old tokens. I deleted that cache file along with the pycache folder. Since then, when a user is taken to the page to select one of their playlists, it is showing my personal spotify playlists rather than theirs! I have no idea what has happened! I haven't altered any code in the app.py file. About an hour ago, when a user first logged in, it was showing their playlists. Until I deleted the cache files. Any clues on what could be the issue?
Without any code provided, nobody can tell.
Here is the code for the relevant pages:
https://stackoverflow.com/questions/76534799/why-is-spotify-api-displaying-my-data-to-other-users
Wish that wasn't my question, but it is my own post 😅
Get a solution to this? Experiencing the same problem.
I also had problems with the .cache file that Spotify created in my directory. It then always used old tokens still stored in there, which made my software request to the account with that old token, even tho I OAuth with another account.
The flask session.clear() does not remove the .cache. Don't try to manually delete content from .cache and leave it their. This will raise some json errors from libraries used by Spotipy. I made sure to delete the .cache enterly at appropriate places in the code. The .cache will be build by Spotipy with the new token automatically.
"""
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…