NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

REST API - Set a Threeshold - HTTP ERROR

muelleste
2,217 Views

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"
},
}

 

0 REPLIES 0
Public