You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

dalal_subhranil's avatar
dalal_subhranil
Explorer | Level 4
8 years ago

Javascript SDK CLIENT_ID

We have app in which we were using PHP SDK but unfortunately we don't have any updated PHP SDK 2.

Now we are trying to replace our code through javascript. We saw javascript use app's CLIENT_ID to genearte authenticate URL. But we are unable to find from where we can get CLIENT_ID for our app. Previously we were using App Key and App Secret for PHP SDK. None of these are working. Please help us to find out CLIENT_ID for our app.

 

Thanks

  • Greg-DB's avatar
    Greg-DB
    8 years ago
    That error indicates that the "token" a.k.a. "implicit" grant is disabled for that app. You can re-enable it using the "Allow implicit grant" option on the app's page on the App Console:

    https://www.dropbox.com/developers/apps
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    The term "client ID" is just another name for "app key". You can get the app key for your app from the app's page on the App Console:

    https://www.dropbox.com/developers/apps

    If that's not working for you, please share the problematic code and the error you're getting.
    • dalal_subhranil's avatar
      dalal_subhranil
      Explorer | Level 4

      Thanks for your reply Greg.

       

      When I use App Key for my app I am getting below response

       

      Error (400)It seems the app you were using submitted a bad request. If you would like to report this error to the app's developer, include the information below.


      More details for developers

      Implicit grant disallowed for this app ("response_type" can't be "token").

      • dalal_subhranil's avatar
        dalal_subhranil
        Explorer | Level 4

        Getting same error for both development and production app key.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 11 hours ago
325 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!