Why don't some codes work?
When you generate a code, you can set certain limits. A code can be valid for one or more uses and even have an expiration date. If a single-use code is used by someone else before you use it, for example, it is no longer usable. You will be notified if your code is no longer valid.
Ask your friend for a new code if necessary!