`C:\Users\A\Downloads\Overlyrics>python Overlyrics.py
HTTP Error for GET to https://api.spotify.com/v1/me/player/currently-playing with Params: {} returned 403 due to User not registered in the Developer Dashboard
Exception in thread Thread-1 (update_track_info):
Traceback (most recent call last):
File "C:\Users\A\AppData\Local\Programs\Python\Python311\Lib\site-packages\spotipy\client.py", line 271, in _internal_call
response.raise_for_status()
File "C:\Users\A\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.spotify.com/v1/me/player/currently-playing
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\A\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\A\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\A\Downloads\Overlyrics\Overlyrics.py", line 142, in update_track_info
trackName, artistName, currentProgress, isPaused = get_track_info()
^^^^^^^^^^^^^^^^
File "C:\Users\A\Downloads\Overlyrics\Overlyrics.py", line 149, in get_track_info
trackInfo = getCurrentTrackInfo()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\A\Downloads\Overlyrics\Overlyrics.py", line 110, in getCurrentTrackInfo
current_track = sp.current_user_playing_track() # Get the information of the music being listened to, through the API
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\A\AppData\Local\Programs\Python\Python311\Lib\site-packages\spotipy\client.py", line 1232, in current_user_playing_track
return self._get("me/player/currently-playing")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\A\AppData\Local\Programs\Python\Python311\Lib\site-packages\spotipy\client.py", line 323, in _get
return self._internal_call("GET", url, payload, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\A\AppData\Local\Programs\Python\Python311\Lib\site-packages\spotipy\client.py", line 293, in _internal_call
raise SpotifyException(
spotipy.exceptions.SpotifyException: http status: 403, code:-1 - https://api.spotify.com/v1/me/player/currently-playing:
User not registered in the Developer Dashboard, reason: None`