My app works well when the user (authenticated via oAuth2) is a private user. When the user is a team admin I can't use /2/files/get_metadata - I always get a 'path not found' error.
The path I use is the folder id I get from the chooser. I need to get its name and path.
I relate to Dropbox's answer here:
that says: "Note that if you only ever want to perform API calls for the specific user that authorizes the app, you register and should use a normal Dropbox API app, instead of a Dropbox Business API app"
Using Business API app didn't help in my case either.
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:
- the exact steps to reproduce the issue
- the name and version of the platform and SDK/library you are using, if any
- the full text of the error/any output
- the relevant code snippet(s)
Thanks in advance!
No need for that. the problem was that for Development applications (not production) there is a difference between the file access of the app to what the 'chooser' can see. Chooser gave the app folder_id that tha app could not see.
I think it's not a nice idea to let the chooser see files other than what the app can see
Have a question? Our Dropbox Community is here to help you find an answer!
You won’t have to wait too long for a reply, but why not learn more about the Community while you’re here.
Not the right discussion for you? Find out what else our Community has to say about API Support.
Or, search our Help Center for even more.