It was invalid because it was indeed the wrong code, when I checked today under my purchase in the SE store, there was a different code (20-digit this time), this time the actualy registration code which worked perfectly.