The Valor Sword code is no longer valid. According to reports, the Wizard101 team disabled it to stop the code from spreading and handing out high-level swords to players who had not earned them. So unfortunately, there is no working code to redeem anymore.