If there is any mistake while generating E way bill then it cannot be edited, there is only one option of cancellation of E way bill