API Error when Using PowerShell for Qtree Create: No Such File or Directory
Applies to
- ONTAP 9
- Qtree
Issue
A custom script to create Volumes / Qtrees intermittently fails with the following error in powershell:
uuid : 19axxxx3-xx8e-xxxx-a4xx-5fexxxxx1cx4description :POST /api/storage/qtrees/?volume.name=vol1&name=qtree1state : failuremessage : No such file ordirectorycode : 6684674start_time : 2022-07-28T15:58:19+00:00end_time : 2022-07-28T15:58:19+00:00svm :@{name=svm_LabNetappHA1; uuid=b04xxxxd-9xxb-xxxx-85xx-xxxxx72d0fxx; _links=}error : @{message=No such file or directory;code=6684674}_links : @{self=}