mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #723] HTTPError: 400 Client Error: Bad Request for url: https://accounts.spotify.com/api/token #434
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#434
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 @Eyfelix on GitHub (Aug 31, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/723
Hello,
I created a serveur, put my python script on it, I can run it using Putty but when I enter the url where I was redirect to I got this error message :
I cant find anything about a similar error on Spotipy and on my computer the code work fine.
my code :
Thanks for your help.
@stephanebruckert commented on GitHub (Aug 31, 2021):
What does the URL you are redirected to look like? (please replace or fake anything that looks like a "code")
@Eyfelix commented on GitHub (Aug 31, 2021):
the URL is :
https://accounts.spotify.com/authorize?client_id=e9be6a4390624312b517226cf90d790d&response_type=code&redirect_uri=http%3A%2F%2Ffelixdbtz.alwaysdata.net%2F&scope=user-read-recently-played
And I dont understand he problem with my code, it's just a simplified version of my real code.
@Peter-Schorn commented on GitHub (Aug 31, 2021):
You don't directly paste this URL back into the program. (What would be the point of that?) You open this URL in the browser, log in to your Spotify account, and click agree. Then paste the URL that you were redirected to back into the program. The URL that you are redirected to should begin with your redirect URI.
@Eyfelix commented on GitHub (Aug 31, 2021):
Thanks so much it worked.