#ONTAP 9.8 /storage/volumes not returning all records.

1 messages · Page 1 of 1 (latest)

wintry vigil
#

Hey All,

I'm seeing error code 2621462 returning from the below API call, and I'm not getting the expected number of records back. The ONTAP version is 9.8. Unable to find a kb article around this error code and don't think it's documented in Swagger. I'm sure the answer is going to be to upgrade, but would be good to get confirmation. Any ideas?

"num_records": "220", "_links": { "self": { "href": "/api/gateways/<cluster_uuid>/storage/volumes?fields=clone,create_time,is_svm_root,qos.policy.uuid,qos.policy.name,snapmirror,space,style,svm,tiering&privilege_level=diagnostic" } }, "error": { "message": "SVM \"5\" does not exist. ", "code": "2621462" } }

soft lintel
#

Not sure about the # of records but 'svm' should be svm.name if that is what you intended to retrieve with fields=

#

You can look at the 'Model' in Swagger - looks like you might need to expand a couple of the other fields too - like 'space' and 'tiering'

#

or just use fields=** and you 'll get everything

wintry vigil
#

Thanks @soft lintel . I usually get the response body I expect without needing to expand the fields. Do you know what the code 2621462 refers to?

heavy ferry
#

Code 2621462 means "The specified storage VM does not exist."

wintry vigil
#

Thanks Brian - we've raise a support case and are tracking it there.

median saddle
median saddle
soft lintel