Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
matteovillosio
2 years agoNew member | Level 2
media_info=NOT_SET even if they are actually visible from web interface
Hello, I'm using Python APIs.
When I try getting metadata for one JPG file from a folder, for example using
dbx.files_get_metadata("path/to/image.jpg")
I see the tag media_info=NOT_SET. On the other hand, if I go to the browser and check the file, in the toolbar I see this:
Any idea on why this happens?
1 Reply
- Greg-DB2 years ago
Dropbox Community Moderator
[Cross-linking for reference: https://stackoverflow.com/questions/77111772/when-using-dropbox-apis-i-get-media-info-not-set-for-images-even-if-they-are-act ]
In order to get 'media_info' set, you'll need to set include_media_info=True when calling files_get_metadata.
Note though that the 'media_info' returned by the Dropbox API does not contain all of the same information shown on the Dropbox web site.
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!