Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.10/site-packages/spotipy/oauth2.py", line 559, in get_access_token
response.raise_for_status()
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://accounts.spotify.com/api/token
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/discord_status_lyric_linker/bot.py", line 116, in
sp, auth = get_spotipy()
File "/home/ubuntu/discord_status_lyric_linker/bot.py", line 108, in get_spotipy
TOKEN = auth.get_access_token(as_dict = False)
File "/home/ubuntu/.local/lib/python3.10/site-packages/spotipy/oauth2.py", line 565, in get_access_token
self._handle_oauth_error(http_error)
File "/home/ubuntu/.local/lib/python3.10/site-packages/spotipy/oauth2.py", line 146, in _handle_oauth_error
raise SpotifyOauthError(
spotipy.oauth2.SpotifyOauthError: error: invalid_request, error_description: code must be supplied
Traceback (most recent call last): File "/home/ubuntu/.local/lib/python3.10/site-packages/spotipy/oauth2.py", line 559, in get_access_token response.raise_for_status() File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://accounts.spotify.com/api/token
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/ubuntu/discord_status_lyric_linker/bot.py", line 116, in
sp, auth = get_spotipy()
File "/home/ubuntu/discord_status_lyric_linker/bot.py", line 108, in get_spotipy
TOKEN = auth.get_access_token(as_dict = False)
File "/home/ubuntu/.local/lib/python3.10/site-packages/spotipy/oauth2.py", line 565, in get_access_token
self._handle_oauth_error(http_error)
File "/home/ubuntu/.local/lib/python3.10/site-packages/spotipy/oauth2.py", line 146, in _handle_oauth_error
raise SpotifyOauthError(
spotipy.oauth2.SpotifyOauthError: error: invalid_request, error_description: code must be supplied