Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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'
@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.
I don't see any error while creating a shared link manually. We have faced this issue via the Dropbox Python module.
@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.
@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.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!