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

prpcServiceUtils fails with URLDecode value in target URL

SA-46453

Summary



The import of a Rule Admin Product archive to a specific tenant fails.


Error Messages



java.lang.IllegalArgumentException: Illegal character in path at index 86:
http://your_node:your_port/prweb/PRRestService/beEBp4uRVTogorRwSwWqbHICjV804hg0kOPTuGWSs3M[*/SystemManagement/v1/pzImport
------------------------------------------------------------------------------------------^original column 86


Steps to Reproduce


  1. Replace the %5B with the URLDecode value of [ in prpcServiceUtils.
  2. Attempt to import a Rule-Admin-Product (RAP).


Root Cause



A defect or configuration issue in the operating environment The URL format is invalid.

The tenant hash as provided by Pega 7.x is appropriately encoded for use. In this case manipulating the hash resulted in the decoding of %5b to the [ character that it represents.

Square brackets are reserved characters as of RFC986 and cannot appear unencoded in a URL.



Resolution



Perform the following local-change:

URLEncode the [ as %5B before generating it into the prpcServiceUtils.properties file.
If not using automation, then don't change the encoding of the tenant hash.

Published February 9, 2018 - Updated October 8, 2020

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?

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