hello,
I'm trying to restructure folders I share with my customers ( roughly 5k+ folders ). My folder structure has a simple parent->child relationship, with the parent having a variable amount of children. Some of the child folders have been shared individually.
I'm trying to unshare the child folders and only share the parent folder.
I've created a test folder, 5 parent folders with 1-3 shared child folders, which I'm using to test the script I've written.
I'm using the api endpoint /sharing/unshare_folder, and it works for the most part, using the node sdk to make the calls.
However, sometimes the unshared child folders move from the parent folder and end up in my main dropbox folder for no apparent reason.
I noticed that dropbox seems to remove shared folder and put the folder back unshared, and I wonder if it has something to do with that?
I'm rate limiting requests to every 3 seconds per parent folder and also only calling the unshare_folder endpoint when this error seems to occur.
any help on this would be great! thank you.