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...
Todd H.4
9 years agoNew member | Level 2
Having tried to reproduce this with non-proprietary files I see the problem is more subtle. It has to do with folders being removed and added back with a different case.
Steps to reproduce:
- Create a folder called Test
- Add a folder called lowercase.
- Delete the folder named lowercase
- Add a folder named LowerCase
- Add a file named Error.png
We have:

Now we let's look at the API view. It correctly shows the path_display of “/Test/LowerCase”

But when I get the metadata for the file, it shows the incorrect case for the folder which was deleted and added with a different case. It shows “/Test/lowercase/Error.png” but I would expect “/Test/LowerCase/Error.png”

Knowing what I know now, I can code around the problem. But still ... very curious.
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!