Hello:
I use Java code for file format conversion.
The following code is incorrect, the error code is -8, but the token is the same as the token in the editor config parameter, but the conversion is incorrect
Hello @xuxiaofei
Token must be generated separately for used parameters and their values. Please see an example of a request to Conversion API with JWT token: Request | ONLYOFFICE
Basically, token must provide a content of your conversion request in it and must be signed with your secret before sending to Conversion API. The sample that you are demonstrating is not suitable for Conversion API, thus it returns status 8.