Announcements

Help Wizard

Step 1

NEXT STEP

Keep getting 415 ('Unsupported Media Type') when trying to refresh and access token.

Keep getting 415 ('Unsupported Media Type') when trying to refresh and access token.

Hi all,
Anyone dealt with a 415 response- error when trying to refresh and access token?  See attached file to see code. 

 

Screen Shot 2022-03-20 at 1.35.22 PM.png
Reply
1 Reply

Hey!

 

Checking in to see if I can help. Here are two suggestions for you to experiment with:

  1. Replace  form: with params: and see if your code runs as expected,
  2. should 1 not resolve the issue, try separating the Header and body of the request (h/t Stack Overflow suggestion)

Let me know how you get on.

 

[this comment has been edited to remove question posed earlier]

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/ 4 years ago  in Social & Random