cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Process Automation - Opening PDF file unhandled exception in case of BadStreamError

janv7306
Active Participant
0 Kudos
616

Dear SBPA DecOps Team,

Could anyone have a look to the following case?

In case we try to process corrupted PDF file, unhandled exception causes the automation stops and it is impossible to use Try..Catch to manage it. The detailed error message follows, however we use Cloud Studio and latest PDF SDK. Any suggestion?

Thank you very much, JV

SAP Build Process Automation 

 

An asynchronous activity in a custom script may have failed. Add an await operator before each SDK activity call. Error: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "FormatError: Bad encoding in flate stream".
  • An asynchronous activity in a custom script may have failed. Add an await operator before each SDK activity call. Error: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "FormatError: Bad encoding in flate stream".
 
Date: 5/24/2024, 05:37:46 PM

Accepted Solutions (0)

Answers (0)