ONTAP Discussions

Netapp.manage.NaAPIFailedException: Unable to find API:

diraviyaa

Hi ,

     I have wriiten a cpde to fetch volume information from Oncommand Unified manager 6.3 .I am using OnCommand DFm command (dfm-schedule-create) to fetch the information but iam getting an exception  Netapp.manage.NaAPIFailedException: Unable to find API:  dfm-schedule-create (errno=13001) . Can anyone help in resolving this issue . The onepart of my code snippet is given below for your reference. 

             server = new NaServer(args[0]);
            server.setTransportType(NaServer.TRANSPORT_TYPE_HTTPS);
            server.setPort(Integer.parseInt(args[1]));
            server.setStyle(NaServer.STYLE_LOGIN_PASSWORD);
            server.setAdminUser(args[3],args[4]);
            server.setServerType(NaServer.SERVER_TYPE_DFM);
            
            NaElement api = new NaElement("dfm-schedule-create");
           
            NaElement newElem = server.invokeElem(api);
            
            System.out.println(newElem.toString());

 

0 REPLIES 0
Announcements
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
Public