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

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.)
Suggest Edit

Published August 29, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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