cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We recently received a question asking for advice on how to set up a Dropbox account for an elderly family member. This prompted us to think about the different ways we can make Dropbox more accessible in general, learn about it and add your tips right over 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: 
1
Ask
2
Reply and help

Invalid shared folder id

Invalid shared folder id

emeraldmedia
New member | Level 2

Hi there

 

Im integrating the ability to share a folder with people that signup to my system

 

 

Basically I got the shared_folder_id.

 

Via here : https://dropbox.github.io/dropbox-api-v2-explorer/#files_list_folder

 

 

I get the id of my folder :

 

"id": "id:OnI0Xzba6WsAAAAAAAE0Hg"

 

 

 

However when I call

 

https://api.dropboxapi.com/2/sharing/add_folder_member

 

 

 

I get ‘Invalid shared folder id’

 

 

Anyone know what’s wrong ?

 

thanks !!

1 Reply 1

Re: Invalid shared folder id

Greg-DB
Dropboxer

It looks like you're attempting to use the file/folder ID for the shared folder as the shared folder ID. Note that file/folder IDs (commonly labeled 'id') are different than shared folder IDs (commonly labeled 'shared_folder_id').

You can get the shared folder ID for a shared folder from a number of places on the API, such as /2/files/get_metadata or /2/files/list_folder[/continue], where it is returned as FolderMetadata.sharing_info.shared_folder_id. Or, you can get it from /2/sharing/list_folders[/continue], where it is returned as SharedFolderMetadata.shared_folder_id.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?