Hello.
I am trying to query Dropbox using python's from dropbox import DropboxTeam request_json_object API.
I need to query the API path: files/list_folder
My request look like
request_json_object(dict(
host='api',
auth_type='team',
route_style='rpc',
request_binary=None,
route_name='files/list_folder',
request_arg={'limit': 1, 'select_user': 'userid:111...111'}
))
But I am getting this error BadInputError
'Error in call to API function "files/list_folder": This API function operates on a single Dropbox account, but the OAuth 2 access token you provided is for an entire Dropbox Business team. Since your API app key has team member file access permissions, you can operate on a team member\'s Dropbox by providing the "Dropbox-API-Select-User" HTTP header or "select_user" URL parameter to specify the exact user
https
/www.dropbox.com/developers/documentation/http/teams