I got this error when trying to enter a product key via the GUI, “This Edition Cannot Be Upgraded”. Not sure why. However, I was able to run the following command via command prompt to activate my product key. It does take about 5 minutes to complete the process then your asked to reboot.
Dism /online /Set-Edition:ServerStandard /AcceptEula /ProductKey:"put product key here"