Getting an error updating to Minecraft for Windows 10. What can I do?
There are a few posts online that are fairly new in age discussing this issue, such as this one on the Minecraft Forums and a Reddit post. An additional Minecraft Forum one can be found here as well.
As the error suggests, you will likely just have to wait for time being. You can also try contacting Mojang support which was suggested in the forum posts. During the holiday season, I can understand how they ran out of codes. That being said, I do find it rather odd that there was a limited amount.
Since this is the Windows 10 edition, it seems Mojang suggests you actually contact Xbox support.