We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
petepete717
3 years agoHelpful | Level 6
Internal Server Error 500 when sharing folder
When running my code I can share a folder one or two times but then I receive the Internal Server Error 500 afterwards. Creating the shared folder works: client.sharing.shareFolder(path: path...
Greg-DB
Dropbox Community Moderator
3 years agoThe team is looking into this, but they're asking if you can share a little more context on the failure rate you're seeing. Specifically, you mentioned it "does not work in 80% of the times", but can you offer some more details on that? For instance, are you always seeing an 80% failure rate on these calls, or does it only fail at that rate sometimes?
Also, are you running multiple addFolderMember calls at the same time? (Note that it runs asynchronously.)
Thanks!
petepete717
3 years agoHelpful | Level 6
What I have found is that when I log in the first time for the day it works a few times. Then only intermittently.
Yesterday afternoon I could not get addFolderMember to work at all. Tried perhaps 10-20 times but no success.
Interestingly enough, the folder always gets created. Which would seem to prove that I am logged in and have set up the client correctly? Also I checked to ensure that the sharedFolderID gets passed into addFolderMember.
I only call addFolderMember once.
One thing I did notice - it seems that my success rate is slightly higher if I pause the program after the folder is created but before addFolderMember is called. But it is far from 100%.
I hope this helps. Please let me know if you need any more details. Thanks!
- Greg-DB3 years ago
Dropbox Community Moderator
Thanks for the additional information!
- petepete7173 years agoHelpful | Level 6
Hi Greg
Do you have any further information? I am stuck and cannot get my app to work reliably with this issue still open.
Thank you very much. - Greg-DB3 years ago
Dropbox Community Moderator
This is still open with engineering, but I don't have an update to report yet. I'll follow up here once I do.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!