The Invalid Code Error occurred with The Sims 3 Sweet Treats when it was released on June 5th, 2012. It affected the pre-order codes of the game.
Many users reported of a code redemption problem that had occurred on June 5th, 2012 when they tried to redeem the code. The code was a poster for people who pre-ordered the game on Origin. When the user tried to enter the code at this link, the error message "You have entered an invalid code. Please re-enter your code." appears.
Mentions of the glitchEdit
This glitch was reported by some users, including WinMacSims3. WinMacSims3 started a thread about the code redemption problem.
The glitch was addressed and as of June 6th, 2012, users are able to redeem the code.