ONTAP Discussions

Highlighted

REST API - Set a Threeshold - HTTP ERROR

Hi guys,

we want to set a threeshold option on our quota.

When we set this option via the private API, we receive a HTTP 500 Response back.

 

The Threeshold-Option is set, but for our automation we got the problem with the Response Code.

Maybe someone has got the right call, we use this one:

 

https://<Machine>/api/private/cli/volume/quota/policy/rule?vserver=<SVM>&volume=<VOLUME>&target=/<VOLUME>/<QTREE>

 

Request Body:

{
  "threshold": 8000000
}

Response :

Return Code: 500 Internal Server Error

JSON Body{
"num_records": 1,
"error": {
"message": "Loop detected in next() for table quota_rules_ui_table. Next on \"<SVM> default <VOLUME> tree /vol/<VOLUME>/<QTREE> \" returned \"<QTREE> default <VOLUME> tree /vol/<VOLUME>/<QTREE> \".",
"code": "262146"
},
}

 

Check out the KB!
Knowledge Base
All Community Forums