Try the code celebrate, which grants a party hat — blue for boys, pink for girls.
Wizard101 codes are usually tied to promotions and expire, so if it doesn't register, the offer has likely ended. The developer's official social channels are where new codes get posted first.