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

REST service throws "invalid property name" error



When the REST service, with input as "_propertyname", is run, "invalid property name" error is received.

Error Messages

The reference __propertyname is not valid. Reason: invalid property name: '__propertyname'

Steps to Reproduce

Run a REST service with a property that starts with an underscore.

Root Cause

A defect or configuration issue in the operating environment. REST service does not allow special characters (such as, underscore) as input .


Perform the following local-change:
  1. Perform a save as of OOTB decision tables "@baseclass.pyInboundIdentifierEncoder" and "@baseclass.pyOutboundIdentifierDecoder" to custom ruleset.
  2. Add the following fields in pyInboundIdentifierEncoder decision table respectively.
        Property Identifier -“_”
        Return                       - “undrscr_”
  1. Add the following fields in pyOutboundIdentifierDecoder  decision table respectively.
        Property Identifier -“undrscr_”
        Return                       -“_”
  1. Save both the decision tables.
  2. Add below DSS setting to true.
        Purpose: json/LegacyMapping
        Owning ruleset: Pega-IntegrationEngine
        Value: true

Published October 5, 2015 - 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?

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