mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #640] code_verifier required #380
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#380
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nsier on GitHub (Feb 11, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/640
Hi all,
Apologies if this ends up being a silly question, but Im having trouble receiving a token and getting a .cache file.
All Environmental variables seem to be good and everything on the developer portal looks OK.
the error Im receiving is:
File "/home/pi/.local/lib/python3.7/site-packages/spotipy/client.py", line 1633, in devices
return self._get("me/player/devices")
File "/home/pi/.local/lib/python3.7/site-packages/spotipy/client.py", line 291, in _get
return self._internal_call("GET", url, payload, kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/spotipy/client.py", line 221, in _internal_call
headers = self._auth_headers()
File "/home/pi/.local/lib/python3.7/site-packages/spotipy/client.py", line 212, in _auth_headers
token = self.auth_manager.get_access_token(as_dict=False)
File "/home/pi/.local/lib/python3.7/site-packages/spotipy/oauth2.py", line 508, in get_access_token
error_description=error_payload['error_description'])
spotipy.oauth2.SpotifyOauthError: error: invalid_request, error_description: code_verifier required
any thoughts would be welcomed.
thanks
@Peter-Schorn commented on GitHub (Feb 20, 2021):
There's no way anyone can answer your question if you don't post any of your code.
@IdmFoundInHim commented on GitHub (Mar 14, 2021):
Strange, that appears to be a call to
SpotifyOAuth.get_access_token, butcode_verifieris part of theSpotifyPKCEflow. Unless you know that those two are being combined (which would cause a problem), that's all I can say without the code that triggered the error.@stephanebruckert commented on GitHub (Mar 14, 2021):
@nsier do you still have this problem? if yes, please share the code so we can help
@dieser-niko commented on GitHub (May 1, 2024):
Closing as there's no activity.