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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.