Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Software Development Kit (SDK) and API Discussions

system-cli gives xml.parsers.expat.ExpatError: not well-formed error


Hi Everyone,


I am in peculiar situation where after migration of host from (change of IP), I want to flush the nblade access from the node/vserver for specific host and policy via automation:


I am trying to do that in using system-cli because there is no API available for this task ( in my knowledge, correct me if I am wrong here).


Here is my input NaElement:



















It errors out like this:


    p.Parse(xmlresponse, 1)

xml.parsers.expat.ExpatError: not well-formed (invalid token): line 5, column 0


It seems that line in xml input "<arg>access-cache</arg>" is not getting parsed. If I remove this line, API call goes through but obviously, I get command not found type output.


Is there a workaround for this?


Any and all suggestions are welcome.




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