We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
prabhat1999
5 months 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_...
Здравко
5 months agoLegendary | Level 20
prabhat1999 wrote:...
I get error stating
Failed to get tags: 409 - {"error_summary": "path/not_file/...", "error": {".tag": "path", "path": {".tag": "not_file"}}}...
Hi prabhat1999,
If you take a look to the documentation:
...
not_file Void We were expecting a file, but the given path refers to something that isn't a file.
In this context, are you sure the path in use denotes a file and not something else (and all of this is in context of correct call - not call to another access point that does support only files)?
prabhat1999 wrote:...
i also try to run the function
dropbox.files_tags_get(entry.path_display)but gets error
AttributeError: module 'dropbox' has no attribute 'files_tags_get'
...
Where does your 'dropbox' object come from? 🤔 Is it a real Dropbox client object? 🧐 Or just you have used the imported dropbox module. 🙂 The mentioned 'attribute' is (or rather would be) part of client object. Do read the documentation more careful!
Hope this gives direction.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 hours agoIf 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!