There was just an update on twitter, at least for those who pre-ordered through the Square Enix store. You should be able to try your code again now.

Not sure about codes from other vendors, my Amazon code is still coming back as the same invalid one it's been giving me.