Skip to content
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

Soundcloud upload a new Track api doesn't work #300

Open
kejul-vyas-mck opened this issue Jul 1, 2024 · 0 comments
Open

Soundcloud upload a new Track api doesn't work #300

kejul-vyas-mck opened this issue Jul 1, 2024 · 0 comments

Comments

@kejul-vyas-mck
Copy link

kejul-vyas-mck commented Jul 1, 2024

Title: Cannot upload audio on Soundcloud via /tracks api

Issue found of: 28th June, 2024

Endpoint(s):

  • POST /tracks

Scope(s):

we are using Client Credentials Token Exchange Flow where we refresh token and get new access token on each request

Steps to reproduce:

curl -X 'POST'
'https://api.soundcloud.com/tracks'
-H 'accept: application/json; charset=utf-8'
-H 'Authorization: OAuth *'
-H 'Content-Type: multipart/form-data'
-F 'track[sharing]=public'
-F 'track[asset_data]=@The-state-of-US-womens-heart-health-A-path-to-improved-health-and-financial-outcomes.mp3;type=audio/mpeg'
-F 'track[title]=test'

Expected behaviour:

Should upload audio file to our Soundcloud account

Actual behaviour:

503 Server Error (consistently)
api-error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant