Announcements
From 28th September 2026, Community private messages will no longer be available. If you have any private messages you'd like to keep, please save or copy them using these steps before this date. Thank you.

Help Wizard

Step 1

NEXT STEP

Web API Authorization Code Flow Error

Web API Authorization Code Flow Error

I'm implementing a simple application to generate some playlist for a user based on some provided data. However, I can't seem to get authorized, even though I've followed to procedures as far as I can tell.

This is the request URL I'm generating:

"https://accounts.spotify.com/authorize?response_type=code&client_id=*MyClientId*&scope=playlist-modify-public&redirect_uri=localhost:8999%2Fcallback"

 

I have registered the redirect uri exactly like that in my application (replacing the %2F with a slash). I'm getting an amazingly vague "Oops, something went wrong" error message with a 500 status code after putting in my authentication details. Can anyone tell me what I'm doing wrong?

Reply
1 Reply

I seem to have fixed it by adding "http://" in front of the URI, both in the dashboard and in the request.

Suggested posts

Let's introduce ourselves!

Hey there you, ย  Yeah, you!ย 😁 ย  Welcome - we're glad you joined the Spotify Community! ย  While you here, let's have a fun game and getโ€ฆ

ModeratorStaff / Moderator/ 5 years ago  in Social & Random