Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7745307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:58:53+00:00 2026-06-01T09:58:53+00:00

I am trying to use the Soundcloud API to implement an integrated export function

  • 0

I am trying to use the Soundcloud API to implement an integrated “export” function in an open-source DAW application (Ardour).

At least for the first draft, it seems that the simplest method to get an authenticated token is to use the “User Credentials” flow. So I’m using my own account as an example. I’m using libcurl to programmatically generate this request:

https://api.soundcloud.com/oauth2/token?client_id=e7ac891eef866f139773cf8102b7a719&client_secret=CLIENT_SECRET&grant_type=password&username=ben@harrisonconsoles.com&password=MY_PASSWORD

The result is: “404 – Not Found”

A couple of questions:

1) Any ideas what “404 – Not Found” means in this context? Is my username in the wrong format? Did I make a typo? Or is the User Credentials workflow no longer available?

2) This is an open-source app, so the client_id and client_secret will actually be available to the world. What are the ramifications (if any) of this?

Please note that I’m not an expert at curl/web integration ( although I was able to use libcurl to import sounds from Freesound.org ) – so perhaps I’m missing something very obvious.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T09:58:54+00:00Added an answer on June 1, 2026 at 9:58 am

    It looks like you are making a GET request to that URL. The OAuth2 Token endpoint only supports POST requests. Additionally, parameters must be sent in the request body, not as part of the query string. Using the curl command line utility, this would look like this:

    curl -X POST -D - https://api.soundcloud.com/oauth2/token -F'client_id=YOUR_CLIENT_ID' \
       -F'client_secret=YOUR_CLIENT_SECRET' -F'grant_type=password' \
       -F'username=YOUR_USERNAME' -F'password=YOUR_PASSWORD'
    

    Technically, we should be sending back a 405 instead of a 404. I’ll file a bug for that, thanks for pointing it out.

    You definitely do not want to distribute your client credentials. Your client id and client secret uniquely identifies your application to SoundCloud. If you were to distribute these, any other application developer could use those values to create an application that looked like yours. If one of those applications violated SoundClouds terms of service, we would have to cut off access to the client id, thus disabling your application as well.

    Additionally, while the User Credentials Flow is supported, it is only recommended when the more popular Authorization Code Flow is not possible. The Authorization Code Flow is more familiar to most users. It allows you to have the user authorize access to your application without requiring them to give your app their credentials. The primary reason that the User Credentials Flow is not recommended is that users who register via Facebook Connect do not have a password and therefore won’t be able to connect your app to their SoundCloud account.

    For desktop / mobile applications, you can specify a redirect URI during the app registration process that uses a custom protocol scheme (e.g. myapp://) which will pass control back to your application. The exact method to do this changes from platform to platform. This means you don’t have to have a running web service to mediate the auth flow.

    Let me know if you have any follow up questions and I’ll edit my answer to elaborate. Hope that helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use a Soundcloud API wrapper for the iPhone following these instructions
I am trying to use the SoundCloud SC.Connect mobile friendly pop-up as Shown in
I have been trying use the edit_post_link() function to contain an image. All of
Trying to use this sql statement. The first 2 parts work fine, I am
I am trying use a javascript function while passing php variables in it. For
I am trying use a javascript function while passing php variables in it. For
Trying to use the getDependentRowset in a ZF application. I have the following relationship
I am trying use the onClick() function in an activity for an android app.
I revieving the following error when trying use mysql_real_escape() function Fatal error: Call to
I was trying use a set of filter functions to run the appropriate routine,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.