When restoring a VM over an existing VM with the “Force overwrite” option selected the restore job fails with the following error: “API Call failed with message: An indicated parameter was not correct. configSpec.memoryAllocation”
Try running the restore again but use the “Restore As” option.