Skip to main content
Kofax

Internal Error: Could Not Convert Excel Document To Bytes

308128

Symptoms:

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. 

Cause: 

This error is related to the compression rate applied to the Excel data. A robot with Set Content Step can cause this issue.

Resolution:

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.

 

Applies to:  

Product Version Category
Kofax RPA 10.5 Excel

 

Author:  

  • Was this article helpful?