We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
karolo4206
4 years agoExplorer | Level 3
too many requests to add members
Hi,
I tried to use python to add a member to a folder. Everything worked fine at first, but unfortunately I misused the tool. Because instead of using a separate method for sending email messages, ...
karolo4206
4 years agoExplorer | Level 3
Yes, I refer to sharing_add_folder_member. I use it as follows.
member_selector = dropbox.sharing.MemberSelector.email(<email_address>)
add_member = dropbox.sharing.AddMember(member_selector,dropbox.sharing.AccessLevel.viewer)
members = [add_member]
dbx.sharing_add_folder_member(<shared_folder_id>, members)Previously, it worked fine, but now the script runs endlessly. It doesn't return any error. Am I doing something wrong that doesn't return an error?
From the dropbox interface in the browser, it returns the error "Folder updates in progress. Please try again later."
Maybe there are some pending invites or I have been banned. But how can I check it?
Greg-DB
Dropbox Community Moderator
4 years agoThe sharing_add_folder_member method should either return a result, or raise an exception. I can't say based on this snippet what is happening with your code execution flow, so I recommend stepping through with a debugger to see where it is hanging or infinitely looping. Let me know if something is broken in the Dropbox API/SDK itself when you do so and we can investigate.
In any case, I can only help with the API itself, so for any questions or help regarding your account state itself, please contact support.
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!