1-800-691-1991 | 9am - 8pm ET

Job fails with error "The operation is not allowed in the current state."


A task fails for a vSphere Virtual Machine that is being processed by Veeam Backup & Replication. This task could be any interaction in which Veeam Backup & Replication sends a VMware API call to the vSphere environment to create a snapshot for a Virtual Machine.

In the GUI this will appear as:


Error: The operation is not allowed in the current state.</pre>


Processing <vmname> Error: The operation is not allowed in the current state.


This error will show up in the html\email report as such:


This presents in the Veeam Backup & Replication Task.<vmname>.<moref>.log as follows:

Error    Failed to create VM snapshot (Veeam.Backup.Common.CRegeneratedTraceException)
Error    CreateSnapshot failed, vmRef vm-xxx, timeout 1800000, snName VEEAM BACKUP TEMPORARY SNAPSHOT, snDescription Please do not delete this snapshot. It is being used by Veeam Backup., memory False, quiesce False (System.Exception)
Error    The operation is not allowed in the current state. (Veeam.Backup.ViSoap.ViServiceFaultException)
Error    VimApi.InvalidState


This error also appears within the Tasks list for the specific VM:


The error message "The operation is not allowed in the current state." is being reported to Veeam Backup & Replication by the vSphere Environment when Veeam Backup & Replication attempts to request that a snapshot be created.


As this issue has to do with the inability to create a snapshot on the virtual machine within the vSphere Environment, the resolution will be to determine what is preventing a snapshot from being created. Once a snapshot can be manually created on the VM (remember to remove it). The Veeam Backup & Replication job will work without issue.

Observed possible causes:

  • VM is stuck in shutting down state.
  • VM is in the middle of being Storage vMotioned


The following VMware KB articles have been found to be related to this error

If this error is occuring with a new replication job, please refreence:

KB ID: 1296
Product: Veeam Backup & Replication 10, Veeam Backup & Replication 9.5, Veeam Backup & Replication 9.0, Veeam Backup & Replication 8.0, Veeam Backup & Replication 7.0
Published: 2011-10-13
Last Modified: 2020-11-13
Please rate how helpful this article was to you:
1.9 out of 5 based on 16 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.


error icon

Oops! Something went wrong.

Please go back try again later.