Announcements
Known issues updated. Learn more

Can't get folder metadata for team admin's files

Explorer | Level 3

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: 

https://stackoverflow.com/questions/34865841/dropbox-http-api-get-files-folders-for-current-tokens-a...

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.

 

3 Replies

Re: Can't get folder metadata for team admin's files

Dropboxer

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! 

Reply
Loading...

Re: Can't get folder metadata for team admin's files

Explorer | Level 3

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

Reply
Loading...

Re: Can't get folder metadata for team admin's files

Dropboxer

I see, thanks for the feedback!

Reply
Loading...
API Support

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.

Who's talking
Top contributors to this post