Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Todd H.4
9 years agoNew member | Level 2
files/get_metadata has incorrect case for path_display
If I fetch the metadata for a folder and check the path_display, I get the mixed case path as desired.
But if I fetch the metadata for a file within that folder, the entire path is lower case. path...
Greg-DB
Dropbox Community Moderator
9 years agoThanks for following up with that Todd. That behavior is expected. Dropbox itself is case-insensitive, with attempts to be case-preserving. However, due to various specifics, the API can't always return the expected case for every path component. So, for any file or folder metadata, the filename/last path component should have the preserved case, but other path components are not guaranteed to.
We realize this is non-ideal of course and are looking into ways to improve it, but I don't have a solution to offer right now.
If you need the preserved casing, you'll need to build it up from the last component in each parent entry.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!