Currently, I am working in pega infinity version 23 and I am facing an issue while trying to make use of DX constellation get api call.
Scenario : -I am having 2 separate application (app A & app B) hosted in same server. I am using dx constellation get api call from application A to get the details of a case which has been created in app B. Now if the last operator to update app-B case is having any special character in it’s userid then I am getting this below exception while making a get case api call from application B.
Error message - com.pega.pegarules.pub.clipboard.OmvalidReferenceException: The reference sm1@sms is not valid. Reason: Invalid property name: ‘sm1@sms’
Is it a known issue or there is a fix for the same?
This issue happens because the DX API can’t handle operator IDs with special characters like @, which are treated as invalid property names when the API tries to fetch or parse data like pyLastUpdateOperator. So when App A tries to get case data from App B, and the last person who touched the case has something like sm1@sms as their ID, the call breaks. One quick fix is to avoid using such IDs, but that’s not always practical. A better workaround is to create a new text property (like LastUpdatedByText), copy the operator name into it without relying on system-generated fields, and expose that in your DX API response instead. This way, you avoid triggering the error and still get the needed info.