Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

User not registered in the developer dashboard

User not registered in the developer dashboard

Plan

Premium

Country

United States

Device

Desktop web browser

Operating System

Windows 10

 

My Question or Issue

I'm building a web app to view a user's playlists. Previously I was able to log in to spotify successfully through the app, and view my playlists. But since yesterday it has been failing to retrieve my playlists intermittently. The HTTP response from /users/<user>/playlists contains the text "User not registered in the developer dashboard," but I am registered as a developer in Spotify.


Yesterday, I got this error, tried again a hour later and did not get the error. I didn't make any code changes. Now today I am getting this error again. Is this a problem with the Spotify API? It seems like it is, since my app was working, then it wasn't working, and I didn't change anything. Is there something I can do to make it recognize that I am registered in the developer dashboard?

Reply
6 Replies

I have not seen this problem since Jan 29, 2023.  Maybe it has gone away, or maybe I've just been lucky.  I was getting this error intermittently from 1/27/23 - 1/29/23.  When I got the error it was always an hour or more before it went away.

Hey @shawn23, I'm glad to hear that you are not seeing this problem anymore. Thanks for updating the thread! If you see that it happens again then feel free to let us know here and we can dig into it further.

I use Spotipy in Python and have had no problems for a couple of years. However, another student reported this issue today and I did some testing with my code. I deleted the token and authorized my app again. A token was received and the User ID was read just fine. However, running the authorization a second time (on the next app run) resulted in this error even though the token file was still present. The precise error is:

"HTTP Error for GET to https://api.spotify.com/v1/me/ with Params: {} returned 403 due to User not registered in the Developer Dashboard"

I tried this on an app in Developer Mode and also one with Granted quota extension, as well as on another test application in an entirely different account. I have found that adding a username to the authorization request solves this issue. Here is some sample code which may assist:

 

 

 

import os
from dotenv import load_dotenv  # pip install python-dotenv

load_dotenv("path/to/your/.env")

CLIENT_ID = os.getenv("Client_ID")
CLIENT_SECRET = os.getenv("Client_Secret")
REDIRECT_URI = os.getenv("Redirect_URI")
DISPLAY_NAME = os.getenv("Display_Name")


def authorization_flow(scope=""):
    import spotipy
    from spotipy.oauth2 import SpotifyOAuth

    # Create a Spotify API Client
    sp = spotipy.Spotify(
        auth_manager=SpotifyOAuth(
            client_id=CLIENT_ID,
            client_secret=CLIENT_SECRET,
            redirect_uri=REDIRECT_URI,
            scope=scope,
            username=DISPLAY_NAME,  # email might also work - untested
        )
    )
    return sp


if __name__ == "__main__":
    sp = authorization_flow(scope="playlist-modify-private")
    user = sp.current_user()
    user_id = user["id"]

 

 

 

Do you have any update to this? I am currently experiencing the same thing. I have found that adding the user that wants to use my app to the User Management tab in the Developer Dashboard solves this problem, but I do not want to have to do this for all users that use my app.

Sorry. Not my field really. I only used Spotipy for myself in this one project. I posted the above solution simply because others were reporting the same issue and I couldn't find any information online.

hey im a year late to the party - for me it works intermittently 

i.e. the moment I add/remove a user it works just then BUT after that I keep hitting "

Check settings on developer.spotify.com/dashboard, the user may not be registered."

Suggested posts