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-account
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.