Software Development Kit (SDK) and API Discussions

Error while getting channel response object - ontap,nmsdk

RATNA_GUDLAVALLETI

I am getting error with this line of code:
StorageShelfEnvironmentListInfoResponse resp =  runner.run(new StorageShelfEnvironmentListInfoRequest());
Exception:
com.netapp.nmsdk.ApiExecutionException: Invalid input value 'yes' for field is-channel-monitor-enabled - does not conform to required format for boolean datatype
        at com.netapp.nmsdk.marshal.ApiReader.convertTextContentToPrimitiveObject(ApiReader.java:405)
        at com.netapp.nmsdk.marshal.ApiReader.readPrimitiveObject(ApiReader.java:237)
        at com.netapp.nmsdk.marshal.ApiReader.readFields(ApiReader.java:131)
        at com.netapp.nmsdk.marshal.ApiReader.readFields(ApiReader.java:95)
        at com.netapp.nmsdk.marshal.ApiReader.readTypedef(ApiReader.java:74)
        at com.netapp.nmsdk.marshal.ApiReader.readCollection(ApiReader.java:264)
        at com.netapp.nmsdk.marshal.ApiReader.readFields(ApiReader.java:146)
        at com.netapp.nmsdk.marshal.ApiReader.readResponse(ApiReader.java:342)
        at com.netapp.nmsdk.client.BeanXmlApiInvocation.createPassedResponse(BeanXmlApiInvocation.java:117)
        at com.netapp.nmsdk.client.BeanXmlApiInvocation.createPassedResponse(BeanXmlApiInvocation.java:70)
        at com.netapp.nmsdk.client.XmlApiInvocation.readResponse(XmlApiInvocation.java:197)
        at com.netapp.nmsdk.client.ApiInvocation.processResponse(ApiInvocation.java:218)
        at com.netapp.nmsdk.client.ApiInvocation.invoke(ApiInvocation.java:112)
        at com.netapp.nmsdk.client.XmlApiInvocation.invoke(XmlApiInvocation.java:40)
        at com.netapp.nmsdk.client.ApiRunner.run(ApiRunner.java:135)
        at com.netapp.nmsdk.client.ApiRunner.run(ApiRunner.java:105)
I found this all version jars. how should I go about it.

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