Hacker News new | ask | show | jobs
by albertzeyer 1026 days ago
Lots of errors?

> You've listened to a shitty song a lot.

"a shitty song" links to 404.

> Looks like your favorite band might be Taylor Swift.

I'm quite sure that Taylor Swift is nowhere in my play log.

> I guess that a shitty song is pretty good

Same 404.

And then I just get:

> Application error: a client-side exception has occurred (see the browser console for more information).

In the console, I see lots of errors:

> Uncaught (in promise) SyntaxError: Unexpected token 'U', "User not r"... is not valid JSON

> TypeError: Cannot read properties of undefined (reading 'album')

I assume the Spotify login did not fully work correctly? But it got my name correct in the beginning.

2 comments

Thank you for letting me know; you're absolutely right- it's not working at all now for new users, my app hasn't yet been approved to leave Spotify's development mode- https://developer.spotify.com/documentation/web-api/concepts..., so the top/tracks and top/artists endpoint which I'm using to fetch data aren't functional.

Very embarrassing on my end- wish I had more than 1 Spotify account so I could verify the API was working for new users before posting- my apologies.

I had the same experience