Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
white1
3 years agoNew member | Level 2
Unable to create a shared link using Dropbox API in python
I suddenly have an issue with the Dropbox API. The following error found while trying to create a shared link.
stone.backends.python_rsrc.stone_validators.ValidationError: unknown tag 'banned_member'
4 Replies
- Rich3 years ago
Super User II
white1 wrote:
stone.backends.python_rsrc.stone_validators.ValidationError: unknown tag 'banned_member'
Have you tried creating a link manually from the Dropbox website? Do you get a similar message? It sounds like your experiencing this issue.
- white13 years agoNew member | Level 2
I don't see any error while creating a shared link manually. We have faced this issue via the Dropbox Python module.
- Здравко3 years agoLegendary | Level 20
white1 wrote:I don't see any error while creating a shared link manually. ...
Hi white1,
Yes, you don't receive such an error while create shared link manually, but the user represented with the token in use would. The user is banned actually. Anyway, you just disclosed a mistake in Dropbox Python SDK - cannot handle such tag in a proper way. 😀🤫 Let's see how long will take to be fixed. In meantime find a way to catch this exception in your code and display the accurate error message.
Good luck.
- Greg-DB3 years ago
Dropbox Community Moderator
white1 Thanks for the report. As Rich and Здравко said, this error would occur because the user's account is currently banned from creating links, and note that that applies to the user account for the access token being used, which is not necessarily your own account.
And it appears the Dropbox Python SDK is not currently updated to handle that particular error properly, so it raises a ValidationError instead, but I'll ask the team to fix that up.
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!