Announcements

Help Wizard

Step 1

NEXT STEP

Type or data image to upload Add Custom Playlist Cover Image

Type or data image to upload Add Custom Playlist Cover Image

I am trying to change a playlist cover by this endpoint https://developer.spotify.com/documentation/web-api/reference/#/operations/upload-custom-playlist-co...

 

I have 401 Unauthorized response, but  the token is ok because i tried changing playlist details.

 

What type of body data needs to put the image on body? form-data?, raw (json) i tried many combinations with base64...

 

Thanks

 

 

Reply
1 Reply

I looked in the source code of a Web API Wrapper I'm using, and this is what I've found out: 

  • It needs to be a PUT request.
  • The payload needs to be a base 64 encoded string of an image.
  • The maximum payload size is 256 KB.
  • The content type needs to be "image/jpeg".

Suggested posts