cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
702
Views
0
Helpful
1
Replies

PUT groupRules fails HTTP 500 / GroupsServiceException

rorick
Level 1
Level 1

Hello,

I'm trying to update the ruleset for an existing group. Querying the group's rules gives me the expected outcome.

{

  "mgmtResponse": {

    "@responseType": "operation",

    "@requestUrl": "https://myPI/webacs/api/v1/op/groups/groupRules?groupId=84224",

    "@rootUrl": "https://myPI/webacs/api/v1/op",

    "groupRulesDTO": {

      "rules": {

        "rule": {

          "criteria": 547,

          "field": "UDF:StreetSer",

          "matchCondition": "AND",

          "operation": "EQUALS"

        }

      }

    }

  }

}

When I send the following JSON PUT request to https://user:pass@myPI/webacs/api/v1/op/groups/groupRules.json?groupId=84224

{

  "groupRulesDTO": {

    "rules": {

      "rule": {

        "criteria": 548,

        "field": "UDF:StreetSer",

        "matchCondition": "AND",

        "operation": "EQUALS"

      }

    }

  }

}

I get this error message.

{

  "errorDocument": {

    "httpResponseCode": 500,

    "httpMethod": "PUT",

    "exception": "com.cisco.ncs.nbi.groups.ops.GroupsServiceException",

    "uriPath": "op/groups/groupRules",

    "queryParams": "{groupId=[84224]}"

  }

}

Any ideas?

Best regards,

Ron

1 Reply 1

Spencer Zier
Cisco Employee
Cisco Employee

Ron, thanks for reporting this issue.  We've reproduced this issue, and I've created CSCvc22214 (which should be visible at most 24 hours from now) to track this issue.