Kofax TotalAgility - Expected a dict object. Error number: 536936462
Summary
Applies To
- TotalAgility 7.4
Behavior
Processing a Pdf file through Image Processing causes a job to suspend with the below error.
Pdf processing error
The Kofax CSPS Log will show the additional information.
Failed to process image. Error: Kofax.CEBPM.DataLayer.PdfLibrary.PdfLibraryException: Pdf processing error. ---> Datalogics.PDFL.LibraryException: PDF Library Error: Expected a dict object. Error number: 536936462
Background
The error is thrown by the DataLogics Pdf library. This is a 3rd part library that KTA will use to manipulate Pdf files.
Resolution / Answer
DataLogics support confirmed this error occurs when a Pdf has an incorrectly defined annotation. It has empty key entry that should represent appearance of the object. This causes the error.
Adobe Acrobat removes this empty key entry on save. Therefore, saving the file in Adobe Acrobat can resolve the error within KTA
Keywords: image process, pdf, datalogics, error, suspend