Error while opening pdf file with wopi in onlyoffice windows server

Document Server version: 8.1.3.4
server is Community Edition for Windows
OS: windows 11 23H2

Additional information:

Hi i’m trying to implement wopi in onlyoffice windows server. i can open word excel power point files without error. But when i tried to open pdf file im getting this error. “An error has occured while opening the file. The file content corresponds to text documents. (e.g. docx), but the file has the inconsistent extension: pdf”

My url look like this:

http://192.168.1.20/hosting/wopi/pdf/edit?rs=en-us&dchat=1&embed=true&fs=true&hid=123&rec=true&thm=1&ui=en-us&WOPISrc=http://localhost:44321/wopi/files/1A4DCC01D43F8AA6C27E76CAAF155ECC

There is no problem with pdf file i can open in my local computer with adobe.

Here is the screenshot;

1

Hello @ali1

As of now current version 8.1 only supports PDF viewing via WOPI. Full featured PDF editing will be available in upcoming in couple of weeks version 8.2 of ONLYOFFICE Docs.