Hacker News new | ask | show | jobs
by tn1 1880 days ago
Doesn't seem to work for me. I went to create a game but got this when pressing the button:

    Access to XMLHttpRequest at 'https://api.roygbivapp.com/game' from origin 'https://www.roygbiv.fm' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The initial OPTIONS request returns `access-control-allow-origin: *` however the POST request says:

    x-amz-apigw-id: exZGCGTxPHcFxog=
    x-amzn-errortype: InternalServerErrorException
    x-amzn-requestid: 4758113c-603c-463a-8e1a-c1b2aa1c5e8d
3 comments

I'll look into it! Do you happen to have a ton of playlists? I've come across problems where users have too many playlists and so gathering all the songs leads to Spotify API errors eventually. I just released a temporary fix that fixes that problem but need more time for a better solution.
If it continues to be a problem you can unselect "In Created Playlists" when you are creating the game.
Same
See my above comment! Thanks for letting me know