Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Error occurs in the log or Tracer when uploading a file



Error occurs in the log or Tracer when uploading a file. Unable to process the footer.

Error Messages Error while parsing: Not enough data to fulfill required parse step 2.
From: (unknown)
at com.pega.pegarules.integration.engine.internal.mapping.DelimitedParserBase.parse(

Steps to Reproduce

Upload a file which contains a Header, Body and Footer to the file listener location.

Root Cause

An issue in the custom application code or rules. 
The 'record at a time' process method was used to process a file which consisted os a header, body and footer format in the Service-File rule.


Perform the following local-change: 

Use the 'By Record Type' process method to process the file in the Service-File rule.

Perform the below configurations in the Request tab of the Service-File rule:
  1. Enter the Header record type unique value in the Record Type
  2. Mark the check box and call the Skip method to process any record in the Record Type
  3. Call the Delimited Parse rule to process the body (multiple records)
  4. Enter the Footer record type unique value should be given in the Record Type
  5. Mark the check box and call the Skip method

Suggest Edit

Published July 23, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us