microsoft / wopi-validator-core

A tool to test and validate server-side WOPI implementations
MIT License
42 stars 34 forks source link

Why does validator say missing of X-WOPI-ItemVersion #91

Closed lavender-lee closed 3 years ago

lavender-lee commented 4 years ago

Recently, I am using wopi-validator-core to validate the implementation of wopi protocol. When validator tells me that "the X-WOPI-ItemVersion header is not presented on the response" in the first time, I then add this header immdiately. However, the error still exists when I have added that header. Please see the following screenshot.

微信图片_20200402215759

微信图片_20200402215810

微信图片_20200402215815

Prototipo-Erick-Santander commented 4 years ago

I don't know if this helps or if you already solved it, but if your fileId is numeric, it needs to be a string, according to the docs.