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
2 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.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API

Make connections with other developers

795 PostsLatest Activity: 21 hours ago
193 Following

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 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!