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

angelo_costantino's avatar
angelo_costantino
Explorer | Level 3
3 years ago

access token don't work

The access token generated in the app console does not work. The access token obtained from the call to / oauth2 / token does not work either. Instead, the access token generated in Dropbox API Explo...
  • Greg-DB's avatar
    Greg-DB
    3 years ago

    A 'path/not_found' error from /2/files/list_folder indicates that nothing was found at the specified "path" in the connected account. Note though that paths will be relative to the root for that call, which will depend on the access type of the app being used.

     

    For example, the API Explorer's own app is registered for "full Dropbox" access, and so can access anything in the connected account. It sounds like your app is registered for "app folder" access though, and so can only access the contents of the special app folder that gets created in the connected account (by default at "/Apps/<app name>" for accounts with the English locale).

     

    So if your app has the app folder access type, and you try to list the contents of a path "/folder", that will actually be trying to access a folder at "/Apps/<app name>/folder". If you need to access things outside of the app folder, such as a folder like "/folder" in the actual root of your account, you'll need to register an app for full Dropbox access and use that instead.

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: 2 days ago
326 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!