cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem to add a member on file or folder share.

Problem to add a member on file or folder share.

Aristide
Helpful | Level 7
Go to solution

Hello,
I can't add a member to a file or folder when I give write permission (editor). (No problem with the viewer read right).

Here is the body of my query:

 

{
        "file": "id:Q2EU1CT92JwAAABBAABGcg",
        "members": [
            {
                ".tag": "email",
                "email": "xxxxxxx@gmail.com"
            }
        ],
        "quiet": false,
        "access_level": "editor"
    }

 

The answer is :

 

{
        "error_summary": "access_error\/no_permission\/",
        "error": {
            ".tag": "access_error",
            "access_error": {
                ".tag": "no_permission"
            }
        },
        "user_message": {
            "locale": "en",
            "text": "You don’t have permission to perform this action."
        }
    }

 

Here are my permissions:

authDrop.png

What permission is missing?

 

Thanks.

 

1 Accepted Solution

Accepted Solutions

Aristide
Helpful | Level 7
Go to solution

Ok, Greg-DB

thanks a lot!

View solution in original post

5 Replies 5

Здравко
Legendary | Level 20
Go to solution

Hi @Aristide,

Are you sure the particular file is your property or the owner lets you reshare aside him? 🤔 The error message leads to response No 🤷 (it's neither your property nor given permission to you or your account).

Hope this gives direction.

Greg-DB
Dropbox Staff
Go to solution

@Aristide Здравко is correct, this error is referring to the sharing permissions for the particular file/account, not the app scopes. For reference, an 'access_error/no_permission' from /2/sharing/add_file_member means:

access_error

SharingFileAccessError (open union)
no_permission Void Current user does not have sufficient privileges to perform the desired action.
For example, in this particular case, it sounds like this may be because the "editor" permission is not supported for individual file sharing for this file type.
 
For comparison, the scopes registered to your app determine which pieces of API functionality your app can use at all.

Aristide
Helpful | Level 7
Go to solution

Okay,

it's working for .docx file. So I can't add a collaborator on an image, video, audio type file... who can modify this file?

Is there a list of allowed types for this API?

Greg-DB
Dropbox Staff
Go to solution

No, we don't have specific documentation on this for the Dropbox API, but I'll pass this along as a request. I can't promise if or when that might be added though.

Aristide
Helpful | Level 7
Go to solution

Ok, Greg-DB

thanks a lot!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Aristide Helpful | Level 7
  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Здравко Legendary | Level 20
What do Dropbox user levels mean?