Why retrieving soundcloud tracks gives 403 forbidden error?

I am trying to retrieve my uploaded tracks from soundcloud using this API after getting client_id from browser inspector, but it gives me "403 Forbidden"

1 Answer

I don't know what language you are using, but I stumbled across the same problem in my c# application. I solved it by adding a new Header key-value pair to my GET request.

"Authorization":"OAuth x-xxxxx"

You get the OAuth token by logging in on your soundcloud and searching the Cookies for oauth_token. Just append that to "OAuth " and your are good to go. This also allows you to access some user-related features on the api.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like