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

Unable to Parse CSV files



IllegalArgumentException occurs when parsing CSV files.

Error Messages

java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
    at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(
    at org.apache.coyote.http11.Http11Processor.service(
    at org.apache.coyote.AbstractProcessorLight.process(
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$
    at org.apache.tomcat.util.threads.TaskThread$

Steps to Reproduce

  1. Open any ParseDelimited Rule.
  2. Click Run locally.
  3. Use from File and provide a .CSV File.
  4. Observe the above exception.

Root Cause

A defect in Pegasystems’ code or rules.
The issue occurs while running Tomcat 8.5 and later versions when URI requests contain special characters such as, '\', '/', etc.


Make the following change to the operating environment:

On inspecting the HTTP request, the issue occurred due to the presence of the '\' character in the FilePath property. 

Add the below relaxedQueryChars setting (for in-house Pega Platform 8.3.1 instance (Windows)),

<Connector port="8830" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" relaxedQueryChars="\"/>

Add a few more characters to Relaxation as below (for Linux),

<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" relaxedQueryChars='\^{}[]|&quot;' />

Published August 8, 2020 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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