Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotify Exception #6

Open
ne-al opened this issue Jun 23, 2024 · 2 comments
Open

Spotify Exception #6

ne-al opened this issue Jun 23, 2024 · 2 comments

Comments

@ne-al
Copy link

ne-al commented Jun 23, 2024

Getting this error
site-packages\spotipy\client.py", line 297, in _internal_call
raise SpotifyException(
spotipy.exceptions.SpotifyException: http status: 403, code:-1 - https://api.spotify.com/v1/me/:
Check settings on developer.spotify.com/dashboard, the user may not be registered., reason: None

even though i don't want to use spotify i'm still getting this error also i have logged in to developer.spotify.com/dashboard but still this error remains and don't know how to fix it.

i just want to use ytmusic

@ne-al
Copy link
Author

ne-al commented Jun 23, 2024

this is code

`from fastapi import FastAPI, HTTPException
import melodine as melo
import uvicorn

app = FastAPI()

@app.get("/")
def root():
return {"message": "Hello World"}

if name == "main":
uvicorn.run("main:app", host="0.0.0.0", port=8000, reload=True)
`

@ne-al
Copy link
Author

ne-al commented Jun 23, 2024

After deleting the spotify folder and removing it reference from init.py

i run a code to fetch data from ytm and i got this

YTMusicSearchResults(top_result=None, more_from_youtube=None, tracks=[], videos=[], playlists=[], albums=[<melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E1F0>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E260>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E340>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E2D0>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E420>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E3B0>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E500>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E490>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E5E0>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E570>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E6C0>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E650>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E7A0>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E730>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E880>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E810>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E960>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0EA40>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E9D0>, <melodine.ytmusic.models.search_models.SearchAlbum object at 0x0000021CCCB0E8F0>], artists=[])

what is this and how to decode it??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant