I am using a dropbox admin account and using ListFolderMembersAsync and grabbing the UserMemberShipInfo which returns UserInfo. When I get this data returned some of the accounts have TeamMemberId while some have AccountId.
TeamMemberId is not always returned with this api call. How do I do an api call to get the account information using UserInfo if I am using a TeamClient. If I try to use a regular AccountId instead of TeamMemberId I get an exception stating:
This API function operates on a single Dropbox account, but the OAuth 2 access token you provided is for an entire Dropbox Business team.
So how to I get the account information when the teamMemberid is not always returned with the call and I am using a team client.
Basically, how do I get account information when I only have the accountId and am using a TeamClient for an admin account?