Software Development Kit (SDK) and API Discussions

NetApp.Manage.NaApiFailedException: not authorized for that command




We're running into an issue on one of our cDOT Cluster (8.2.3P2) with sporadic closed connections as indicated by the error below:


The workflow is a C# based program that uses our SDK and API calls on a W2K R2 based host.


While dedupe is running on a given Volume we check every ten seconds if dedupe is completed. The command succeeds most of the time but not always. If it fails we get this message:


Command was invoked on filer:
not authorized for that command ---> NetApp.Manage.NaApiFailedException: not authorized for that command   at NetApp.Manage.NaServer.InvokeElem(NaElement element)


I was also able to repro the issue in a Powershell loop where I ran " Get-NcSis <vol-name>" 100 times. I got the error in iteration 26, 36, 39, 63, 67, 70, 75, 78, 79



I cannot find any errors in the logs about what looks like an RBAC issue on the Cluster itself (mgwd, debug, messages). I do see the incoming requests in the apache log. What could cause the Cluster to deny authorization for the API call seemingly on a random basis?


Any help is appreciated!






PS The cluster is not heavily loaded, so I doubt that load is a factor.

Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner