This error can occur when both nodes in the I/O group of the volume are offline, or when some nodes in the I/O group are online but they have stale information.
Ensure that each node in the I/O group is online and has no stale information, and then retry the command. Ensure that the nodes stay online while the command runs.