-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
401 - Unauthorized on POST request to '/tracks' route #8
Comments
According to their API documentation, the key for the actual file should be Is there a reason you're using |
Hey Jake, Thanks for getting back so fast. I was using 'asset_data' because that's what the API Reference says to use for a request to '/tracks'. The 'asset_data' property is at the very bottom of the '/tracks' section. Regardless, I tried issuing the same post using 'file' in place of 'asset_data' and I got the same error. Thanks again for the fast response. I'm really looking forward to getting this solved. |
Ah, okay. How are you retrieving your |
Utilizing the JavaScript SDK inside of an Angular controller. The SDK is requested in a script tag in the HTML. If I upload with the SDK from the front-end it's working.
|
Hey Guys! I'm getting the same error and I'm following the same method which Tryenc has used.. Thank you! |
I'm running into something similar too, I'm using the connect screen authentication to get a token but any subsequent requests return a 401. |
I'm getting a
401 - Unauthorized
on POST request to the '/tracks' route. I'm trying to upload a track to my Soundcloud profile. Any idea why this wouldn't be working? Thanks so much in advance!The text was updated successfully, but these errors were encountered: