WOPI should use File (and file ID) and not Media. There is a 1:n relationship for File -> Media (File can be in several Media) Preview seems to only work on files.