Looking in the AIQUM swagger UI at the /datacenter/storage/volumes API, there is no parameter called "fields" (that's why it's throwing an error). The API works fine without it. EG
I'm assuming you only want to return the names of the online volumes? Why not just parse the volume names from the JSON output?
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.