Share via

Graph returning incorrect MIME type for MKV video files

TimGels-7519 6 Reputation points
2021-05-22T14:16:01.01+00:00

Hello everyone,

I am a maintainer for a small open source application that uses the Microsoft Graph API to interact with OneDrive. Recently it stopped working correctly for some file types. After some quick debugging it seems that Microsoft Graph now returns application/octet-stream as mimetype of an MKV file instead of video/x-matroska. mp4 containers seem to be unaffected and still return video/mp4. I had a quick look at the changelog and can't find such change.

Microsoft Security | Microsoft Graph

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.