We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
prabhat1999
2 years agoExplorer | Level 3
Re: Tagging Folder
I write a code to get the data of the tags listed on a folder. but when I hit the API URL = "https://api.dropboxapi.com/2/files/tags/get" I get error stating Failed to get tags: 409 - {"error_...
Greg-DB
Dropbox Community Moderator
2 years agoprabhat1999 Make sure you're supplying a valid path. For example, make sure your path doesn't end with a "/". It looks like there's a bug where the server incorrectly returns a ''malformed_path' error as 'not_file'. I'll ask the team to fix that up, but you can avoid that by supplying a properly formatted path. Update: this should now be properly returning a "path/malformed_path" error.
Also, as Здравко noted, when using the Python SDK, you need a Dropbox client object to make calls like files_tags_get. You can find the documentation for making a Dropbox object here, as well as examples here.
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!