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

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

KB ID: 1296
Product: Veeam Backup & Replication
Published: 2011-10-13
Last Modified: 2021-07-08

Challenge

A task fails for a vSphere Virtual Machine that is being processed by Veeam Backup & Replication with the error:
Error: The operation is not allowed in the current state.
Veeam Backup & Replication gui error
A related error can be seen in the vSphere Client for the VM:
vmware erorr
This error may occur during any job in which Veeam Backup & Replication sends a VMware API call to the vSphere environment to create a snapshot for a Virtual Machine.

Cause

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 sends the request that a snapshot be created.

Solution

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

More Information

If this error is occurring with a new replication job, please review: https://www.veeam.com/kb3000
This issue will appear in the job's Email Report as:
error as shown in email report
This error can be found in the log file: %programdata%\Veeam\Backup\<jobname>\Task.<vmname>.<moref>.log
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
KB ID: 1296
Product: Veeam Backup & Replication
Published: 2011-10-13
Last Modified: 2021-07-08

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Your report was sent to the responsible team. Our representative will contact you by email you provided.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you for your interest in Veeam products!
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend

ty icon

Thank you!

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

OK

error icon

Oops! Something went wrong.

Please try again later.