This question already has an answer here:
I'm getting the AMD-Action:downloadProduct:SP error when trying to reinstall macOS, it doesn't even get to the option to sign in with an apple ID.
I've tried the solutions below but it's still not working:
I've also tried creating a bootable usb using transmac starting by making a GPT partition but it doesn't get discovered as a boot device.
iMac Late 2013