One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
markham
8 years agoNew member | Level 2
stone_validators.ValidationError
Has anyone else experienced the error dropbox.stone_validators.ValidationErrror: expected type SharedLink, got integer? I got this on line 484 of dropbox/stone_validators.py
These recent updates have kind of broken things and I am just trying to get everything back to a semi stable state.
Ideas?
This is running in Python 3 on Pythonista on an iPhone 8+ running iOS 11.0.2
- Greg-DB
Dropbox Staff
Thanks for the report, and apologies for the trouble!
It looks like the API v2 Python SDK v8.3.0 release changed the positional ordering of arguments for the files_list_folder method, unintentionally breaking any callers relying on the parameters' order.
We'll look into fixing this on our side, but the best solution right now is to switch to named parameters, e.g., instead of something like:
dbx.files_list_folder("", False)
do something like this instead:
dbx.files_list_folder(path="", recursive=False)
- jyotinarangExplorer | Level 4
Hi,
I get another error using a files_list_folder in python which states that -
dropbox.stone_validators.ValidationError: expected type SharedLink, got string - could you suggest why this is happening?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 2 days ago
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 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!