Forum Discussion
iControl API errors with ContentPolicy methods
I am unable to retrieve ContentPolicy conditions or actions. Parameters passed are of type System.String[] and System.String[][]. Both are poplulated with data. Does anyone have an example where these work?
ERROR: Exception calling "get_rule_condition" with "2" argument(s): "There is an error in XML document (11, 2)." test.ps1 (193, 2): ERROR: At Line: 193 char: 2 ERROR: + $VSPolicyRulesCond = (Get- ... ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ERROR: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException ERROR: + FullyQualifiedErrorId : InvalidOperationException ERROR: ERROR: Exception calling "get_rule_action" with "2" argument(s): "There is an error in XML document (11, 2)." test.ps1 (194, 2): ERROR: At Line: 194 char: 2 ERROR: + $VSPolicyRulesAction = (Get- ... ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ERROR: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException ERROR: + FullyQualifiedErrorId : InvalidOperationException ERROR:
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com