PI3.0.2 deployment experienced database corruption, and forced to stand up a new instance. The old deployment is in a state where it will still respond to API calls, so developed some automation to pull out the groupRules from the old deployment and push them into the new one. But when attempt to push a rule with a 'criteria' that contains a percent sign (%), PI responds with the error 'Parameter 'criteria' contains invalid characters'.Using Python/JSON, and the data structure. Trying to PUT looks like this:
"field": "Device Name",
Need advise on the proper way to escape the 'criteria' so it will be accepted by the PUT groups/groupRules API.
This data structure was pulled directly from another instance of PI.
We've reproduced this issue internally. Looking into why there's a discrepancy between the API and the UI. Just an update on this. We have a fix for this issue that we will be including in the 3.0.3 Update 1 patch. Thanks for reporting this issue
Edit: Forgot to mention, CSCuy02077 covers this issue (https://tools.cisco.com/bugsearch/bug/CSCuy02077).
Please sign in to leave a comment.