Known issues of Word export on Docker
Word export fails on Codebeamer running in a Docker environment
* 
This quick, unverified solution helped resolve the issue in one of our test environments. Before applying it, users are responsible for verifying that it is compatible with their environment.
After successful Codebeamer startup on Docker, three behaviors will be observed:
1. The Word export will fail with "Export failed with unknown error, please check your logs". The interface will show:
2. The Word export will fail with "Export failed with unknown error, please check your logs". The interface will show:
ERROR export.job.ExportJob - Error inside export application: Caused by: java.lang.IllegalStateException: Not a JSON Object: "<!DOCTYPE" [DocumentExportScheduler_Worker-1] [83] {Req#=export-job-ad0011a2-457b-4218-a9ee-86cad55a81d0, Sess#=export-job-ad0011a2-457b-4218-a9ee-86cad55a81d0, serverId=server}

com.intland.codebeamer.controller.importexport.export.mergefieldword.DocxMergeFieldExporter$ExportAppError: Error inside export application: Caused by: java.lang.IllegalStateException: Not a JSON Object: "<!DOCTYPE"

at com.intland.codebeamer.controller.importexport.export.mergefieldword.DocxJvmExportManager.checkIfAnyExceptionOrError(DocxJvmExportManager.java:234) ~[cb.jar:?]
3. The warning message "Invalid API callback url is configured, check here" will be shown on Codebeamer's pages:
Workaround
The workaround for the same is as follows:
1. As a System Administrator, go to System Admin > Word Export Configuration.
2. Get the IPV4 address of the server where the docker image is running.
3. In the Callback URL text box, replace the domain with the IP and remove the /cb part, for example: http://localhost:8080/cb ➡️ http://192.168.1.3:8080.
4. Logout and login again into Codebeamer.
Solution: This is a known issue, the solution will appear in upcoming Codebeamer docker releases.
Was this helpful?