After upgrading to 10.5 my robot throws an Internal Error when writing Excel data to a file or modifying an Excel variable.
- In the “Details”section, the error is "com.kapowtech.lang.ApplicationError: Could not convert Excel document to bytes. at com.kapowtech.connector.platform.studio.models.excel.ExcelSpreadsheetDocument.toBytes(ExcelSpreadsheetDocument.java:2714)
- A "zip bomb detected" error may also occur in Design Studio.
This error is related to the compression rate applied to the Excel data. A robot with Set Content Step can cause this issue.
There are two options to resolve this issue.
Option 1: Change all of the Set Content Steps to Set Value steps and then leave the Format empty.
Option 2: Upgrade to Kofax RPA 10.5.0.2 where this issue is already fixed.