cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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: 

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.

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

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