When can I cancel an ec2 export?


I tried to cancel while exporting ec2, but the following error occurred.

An error occurred (IncorrectState) when calling the CancelExportTask operation: Task can not be cancelled at this stage:

It is said that it cannot be canceled at this stage, but when can it be canceled?

asked 8 days ago22 views
1 Answer


There are two reasons why the error occurred:

  • The export task is completed
  • It is in the process of transferring the final disk image

More information can be found here: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CancelExportTask.html

Hope it helps!

answered 8 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions