Support Article
Pega-API-Error on using REST service
SA-42110
Summary
REST service returns error while using Pega API, despite providing the mandatory parameter ID.
Error Messages
{
"pxObjClass": "Pega-API-CI-Branch",
"errors": [
{
"ID": "Pega_API_029",
"message": "Missing Application",
"pxObjClass": "Pega-API-Error"
}
]
}
Steps to Reproduce
Use the REST API to test the service with an existing branch with the below URL.
http://host:port/prweb/api/v1/branches/{id}/conflicts
Root Cause
An issue in the custom application code or rules. The values for Param.ApplicationName and Param.ApplicationVersion in pySetApplicationDefaults Data Transform in Pega-API-CI-Branch was not set.
Resolution
Perform the following local-change:
- Updated the values for Param.ApplicationName and Param.ApplicationVersion in pySetApplicationDefaults Data Transform in Pega-API-CI-Branch.
- If merging is also needed then pySetVersionPasswordDefaults params also needs to be updated.(Rulesets must locked when using branches.)
Published August 29, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.