Maybe you're entering the codes wrong, or you have the wrong code. You have to make sure you're putting the numbers exactly in order, or are you talking about the shop codes? What version do you have? You may be pressing A too much, and it's getting counted as part of your code; that happens to me sometimes.