You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

june_yin's avatar
june_yin
New member | Level 2
3 months ago

files_get_metadata not return media_info

when I use api files_get_metadata :  https://api.dropboxapi.com/2/files/get_metadata

to get file detail information,   already set the parameter :

"include_media_info":true

 

 some file return the media_info ,  but some file don't return !!!

 

why ?  

 

--- additional---

I  found that PNG images do not return media_info information.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    The media_info field is an optional field, and when include_media_info is set to true in the request, media_info will be populated with the media information when it is available. The media information will not always be available though, due to a variety of factors, such as file type, size, and compatibility. I'll pass this along as a feature request to improve the availability of this, but I'll pass this along as a feature request. I can't promise if or when that might be improved though.