Software Development Kit (SDK) and API Discussions

ONTAP API error map

YEGOR_FADEEV

Hello,

 

My name is Yegor. I've recently started to work with NetApp.

I'm working on Data ONTAP API in Java. I little bit confused when I'm catching different exceptions with the same error code(errno).

 

For instance,

1) Snapmirror error: source contains no new data; suspending transfer to destination  (errno=13102)

2) Volume could be involved in another operation (errno=13102)

3) Snapmirror error: transfer attempted for busy destination  (errno=13102)

4) Snapmirror error: initialize cannot be applied if destination is a mirror  (errno=13102)

 

Could you explain me why the different errors have the same code number ?

 

Also I downloaded netapp-manageability-sdk-ontap-api-documentation and I found the map with error names. It looks like

 

Errno                                        Description

 

EOBJECTNOTFOUND        
EINTERNALERROR        
EAPIPRIVILEGE        
EAPIMISSINGARGUMENT        
ESOURCE_IS_DIFFERENT        
EDEST_ISNOT_LOCAL_VOLUME        
EDEST_IS_LS_VOLUME        
EOP_FROM_NONMGR_VSERVER        
ESOURCE_DEST_SAME        
ETRIES_COUNT_IS_ZERO        
ERELATION_IS_QUIESCED        
EDEST_VOL_LOCKED

 

 

But descriptions are totally missing!

Is it possible to send me a link on error map with description and error code ?

 

 

Regards,

Yegor

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.

Public