soundcloud / api

A public repo for our Developer Community to engage about bugs and feature requests on our Public API
147 stars 23 forks source link

403 - Forbidden (Auth is valid) #320

Open StefCoders opened 4 days ago

StefCoders commented 4 days ago

Endpoint(s):

Scope(s):

Steps to reproduce:

curl -X GET "https://api.soundcloud.com/me/playlists?show_tracks=false&linked_partitioning=true&limit=25" \
       -H  "accept: application/json; charset=utf-8" \
       -H "Authorization: xxxxxxxxxx"'

Expected behaviour:

A list of tracks as described at https://developers.soundcloud.com/docs/api/reference#users.

{
  "collection": {
    "$ref": "#/components/examples/Playlist/value"
  },
  "next_href": "https://api.soundcloud.com/collection?page_size=10&cursor=1234567"
}

Actual behaviour:

{"code":403,"message":"","link":"https://developers.soundcloud.com/docs/api/explorer/open-api","status":"403 - Forbidden","errors":[],"error":null}r

youssefhassan commented 2 days ago

What is this date of Sept. 20, 2020?

StefCoders commented 2 days ago

This is what disturbed you? I need answers please not unnecessary comments.

youssefhassan commented 3 hours ago

I was trying to debug, it could be something with timestamps or an older trace by mistake. Can you share your soundcloud username or app id? to try to reproduce.

StefCoders commented 2 hours ago

There is no app id as SoundCloud stopped making app id applications over 3 years ago. Not sure about my username.

youssefhassan commented 2 hours ago

Public APIs has to be accessed with external applications. You can apply for an application and it will be granted if there's a use case. Which token are you using and expecting it to work?