ottosichert / alexa-soundcloud

🗣🎶☁️ Play any stream from SoundCloud on Alexa
https://alexa-soundcloud.now.sh
MIT License
2 stars 0 forks source link

empty response / 403 #1

Open silv3r23 opened 3 years ago

silv3r23 commented 3 years ago

As adding the URL to My Pod Playlist is not possible due errors (An error occurred creating your link. Check that the URL exists and is working.) I tried to login manually by calling https://alexa-soundcloud.now.sh/resolve?url=https://soundcloud.com//likes with my browser and logging in with shuffle: I get an empty response: {}

ottosichert commented 3 years ago

Hey @silv3r23, thank you for reporting this issue.

I can confirm the same behaviour on my side. When trying to reproduce this by looking at the response from the SoundCloud API directly you can see that you will get the same response body {} and 403 FORBIDDEN status.

Try this: https://api.soundcloud.com/tracks?client_id=YOUR_CLIENT_ID

There is not much the alexa-soundcloud library can do about, so I would suggest contacting SoundCloud support instead.

The official docs mention this: https://developers.soundcloud.com/docs/api/reference

To access public resources you just have to pass a client_id parameter:

 $ curl https://api.soundcloud.com/tracks?client_id=YOUR_CLIENT_ID