Error "failed to get VM : json: cannot unmarshal array into Go value of type api.Machine"

help me
when i clone my app . i get eror

You can clone machines but not applications using flyctl tool.

To get a machine id run:

fly m list -a <application-name>

Then clone the machine using:

fly m clone <machine-id> -a <application-name>

1 Like