Hi there!
So what I'm trying to do is query Dropbox using python's from dropbox import DropboxTeam's request_json_object API.
I want to query the API path: files/list_folder.
My request dictionary that I pass to the function is as following:
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'}
))
However, I am getting a BadInputError error:
> '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>.'
What am I doing wrong here?