AIQUM GET API failed with error "Internal Server Error"
Applies to
Active IQ Unified Manager 9.8 (AIQUM)
Issue
Get Volume API failed with below error
Curl -X GET https://AIQUM.com/api/datacenter/sto...x_records=1000 -H "accept: application/json" -H "UM-CSRF-Token: ab12461d-1a05-4d93-b57d-3cdeb5357364" Request URL https://AIQUM.com/api/datacenter/sto...x_records=1000 Server response Code Details 500 Error: Internal Server Error Response body Download { "error": { "message": "For input string: "468.8"", "target": null, "code": null }
}Error in ocumserver.log
2021-04-25 23:15:35,832 ERROR [apiuser] [default task-58289] [c.n.o.r.m.e.GlobalExceptionHandler] For input string: "468.8"
java.lang.NumberFormatException: For input string: "468.8"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.base/java.lang.Integer.parseInt(Integer.java:652)
at java.base/java.lang.Integer.parseInt(Integer.java:770)
at deployment.dfm-app.war//com.netapp.datacenter.api.utils.DataCenterUtil.getQoSThroughput(DataCenterUtil.java:150)