I’m working on integrating Spotify into my app using the Spotify Web SDK.
I successfully set up the OAuth2 User-Agent Flow for Spotify but I’m having trouble with the API call to retrieve the users access token.
Which I need for the Spotify web SDK to allow them to view and play their Spotify tracks directly within the app.
I’ve attached a screenshot of my current API call configuration, but I’m getting the “415 Status Code” after trying to initialize the call.
I put a random placeholder in the “code” parameters value to initialize it because its going to be dynamic. I couldn’t leave it empty or else the call wont initialize. How do I set the parameters value to be dynamic in the API editor?
Can anyone tell me what might not be set up correctly? I also want to ensure I’m getting the right token format for the SDK.
Note: I changed it to an action rather than Data and it’s still showing an error.