Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Status Code 500 When Saving a Song to my Library

Status Code 500 When Saving a Song to my Library

I have built an app that displays a users top 10 tracks, artists, and 10 most recently played songs and I would like to add a "save to library" button. However whenever I click the button I receive a 500 status code back from the API which the docs define as:

Internal Server Error. You should never receive this error because our clever coders catch them all … but if you are unlucky enough to get one, please report it to us through a comment at the bottom of this page.

I've attached my App.js and function.js files. Function.js is where the code to query the database lives. 

TYIA! Any help is appreciated and have a wonderful holiday.

Reply
0 Replies

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