Start 2025 on time and up to date! Seamlessly integrate your calendars into Dropbox with these simple steps! 📆

Forum Discussion

mikechiu's avatar
mikechiu
Explorer | Level 4
7 months ago
Solved

Fail updating folder member

Hi, I am running into a problem when calling sharing/update_folder_member .   The error is  {"error_summary": "access_error/not_a_member/.", "error": {".tag": "access_error", "access_error": {".ta...
  • Greg-DB's avatar
    Greg-DB
    7 months ago

    The /2/sharing/update_folder_member endpoint does support the Dropbox-API-Select-Admin header, but only in the "Team Admin" mode, meaning it can "access content of team folders and team spaces but not the team members' home namespaces". So, for example, if that namespace is for a shared folder in the account's home namespace, you can't use the Dropbox-API-Select-Admin header and would need to instead use the Dropbox-API-Select-User header.

     

    As for the version of the call where you do use the Dropbox-API-Select-User header, as Здравко noted, it looks like that did succeed, but returned a confusing warning message. For reference, if you print out the status code, I expect it is a 200, indicating success. I'll ask the team to look into this to correct that confusing warning message though.