Hi there!
With regards to this error you are experiencing, have you tried redeeming his code using a different browser? If you are using Chrome for example, I suggest to try using Edge this time. The error you're seeing ("Something happened on our end. Waiting a bit might help.") usually indicates a temporary issue with the redemption page or the cache of your browser.
When using a different browser, also make sure you are signed in to the Microsoft account of your son and redeem the code at https://redeem.microsoft.com or on https://www.minecraft.net/en-us/redeem . You can also try to use an InPrivate/Incognito window when redeeming the code.
I also recommend waiting at least 24 hours before trying to redeem the code again. Temporary service issues can sometimes resolve on their own.
Note: Since this is a public community forum, please do not post or share your 25-digit product key or screenshots that display the full code. Also, as fellow members of the Microsoft Community, I don't have access to Microsoft accounts, product keys, purchases, or redemption services.
I do hope the above troubleshooting helps somehow!