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

Creating REST integration from JSON file fails

SA-29273

Summary



User reported that, while Importing a JSON file to create a REST integration, it is failing  with an error.


Error Messages



Canceling rule generation, Definition required to conform to ABC-XYZ-UVW  instance created 20161006T175727.642 GMT.
.pyPageClass: The Page Class value has been changed to ABC-XYZ-UVW  
pyPropertyMode: The Property Mode value String has been changed to Page


Steps to Reproduce



1) Run the wizard to create a REST Service.
2) At step 3 of the wizard, add a REST response, upload a JSON file and configure the data layer.


Root Cause



User can create a property with a different mode in a parent class with a name same as a property in the child class, but the reverse is not allowed.

So, a conflicting property name in the child class must be renamed. 

There was a bug in the code that the properties were created in descending order but saved in ascending order. Because of this, while saving, user is getting this issue.


Resolution



Apply HFix-29990.
 

Published November 17, 2016 - 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