i've had application embeds soundcloud links valid players using soundcloud api awhile now, noticed moderate volume of 403 unauthorized errors returning track lookups (api.soundcloud.com/tracks/[track no].json?client_id=[client id]).
the track testing https://soundcloud.com/crystal-castles/deicide, track id of 212943992.
i went url in browser , got correct json returning, tried in incognito, 403. cleared soundcloud cookies, 403s suddenly. i've tried multiple api keys no success.
i cannot life of me figure out why songs give me 403s depending on state of cookies-why api care if have valid api key? doesn't seem track has privacy settings (it embeddable, sharable, etc). special track?
can shed light on situation?
edit: i've pinned down cookie. cookie:
_session_auth_key [random value] api.soundcloud.com /tracks session 47
when call works, if delete cookie , new auth key, fails.
Comments
Post a Comment