Cause. The guest agent cannot run the operation. Either the virtual machine is powered off, it has no guest agent or the agent does not answer, or the agent is set to refuse this kind of operation (programs or files). The message of the API response carries the reason that the agent reported.
Remedy.
Power the virtual machine on when it is off: kyvernon vm power-on <id>.
Check that the guest agent runs inside the guest. Install or restart it when it does not. kyvernon vm guest validate <id> --username <user> probes whether guest operations are available.
When the agent blocks the operation, an administrator of the virtual machine changes its guest access with Edit guest access.
Pass on the reason from the response when the cause is still not clear.
error.guest_file_exists
Text in the console
The file already exists in the guest. Choose overwrite to replace it.
Meaning for API clients
The file already exists in the guest (use overwrite).
Cause. The file already exists in the guest, and the operation does not overwrite.
Remedy.
Choose another file name.
To replace the file on purpose, write it again with overwriting allowed. With the CLI, kyvernon vm guest write-file overwrites unless --no-overwrite is given, and kyvernon vm guest move-file <id> --src <path> --dst <path> --overwrite replaces the destination.