Question


Cognizant
PH
Last activity: 11 Jul 2025 10:18 EDT
Error in adding a case from v22
Hi - I'm working on a proof of concept that create cases to pega platform from Pega RPA v22.1.24
I already created a case type and sample properties. I'm able to retrieve the properties from RPA but when running the solution, I'm getting an error during "Add Case" method. The Add Case method returns False and this is the description from the runtime logs: "Failed parsing case ID from server response. Error: 'Unexpected character encountered while parsing value: <. Path '', line 4, position 8.'" Attached is the screenshot of the automation.
Please let me know if I missed any configuration. Thank you in advance.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Pegasystems Inc.
US
@djanetanHave you populated the properties of the component? Specifically, you'll need to populate the ClassName and PegaServerURL at a minimum. You'd also need the user and password unless using the Robot Manager Connection. I would also be interested in what values you are passing to the case. Were those defined as fields on the component?


Cognizant
PH
@ThomasSasnett Hi Thomas, yes ClassName, PegaServerURL, user and password are all populated. The fields are defined and I'm just passing a string value "Testing".


Pegasystems Inc.
US
@djanetan I believe I would need to see a log to really determine the issue here. The only thing I can think of is that your credentials are different when running it than when testing it. Is the UseRobotManagerConnection property set to True, or are you using basic authentication and hard-coding a user and password? If your properties are all correct, then there must be something else going on. I would suggest opening a support request as our support team can meet with you virtually to look at your log and determine what's missing.


Cognizant
PH
@ThomasSasnett - I've attached the runtime log.
1. Credentials are different when running it than when testing it - I tried multiple times, doing copy-paste to ensure I don't mistype anything. Though I tried to input a wrong credential to see if it will give me invalid username/password but it returned the same error as I got when using the correct credential.
2. Is the UseRobotManagerConnection property set to True - No.
3. Are you using basic authentication and hard-coding a user and password? - Yes


Pegasystems Inc.
US
@djanetan It may be that your user when you setup the component has the correct permissions to the class, but the one you use when you run it does not. Make sure they are using the same Access Group. For the RuntimeLog, please set all categories to "Debug" (logLevel="4" in your RuntimeConfig or if testing from Studio, you can set this from Tools-->Options-->Runtime Diagnostics).


Cognizant
PH
@ThomasSasnett They are using the same Access Group. I also used the user I used to create the pega Application, class, etc but I'm getting the same error. Attached is the RuntimeLog with Debug level = 4


Pegasystems Inc.
US
@djanetan I am not seeing anything telling in this error. I suggest opening a support request. I believe seeing this live would allow us to determine what is missing. If you do open a support request, please update this post with the incident ID, so that we can apply any resolution here.


Cognizant
PH
@ThomasSasnett support request incident ID is INC-C28581


Coforge Limited
GB
@ThomasSasnett same error for me as well. It is not creating the case using addcase method. I am using studio Proprietary information hidden
WARN | 2025-07-10 22:21:29.501 | 58 | STA | Robotics | | Failed parsing case ID from server response. Error: 'Unexpected character encountered while parsing value: <. Path '', line 4, position 8.'


Pegasystems Inc.
US
@ManojanandNayagam The resolution to the issue was to use the correct URL in the case component. It needs to end with api/v1. Try that and see if it works.