The message means the Xbox/Microsoft gift card or code was issued for a different country/region than the one set on the Microsoft account being used to redeem it. Gift cards and codes are region-locked, so a card bought in one region (for example, a different country’s store) cannot be redeemed on an account whose region does not match.
To use the code, the Microsoft account region must match the region for which the card was issued, or a new card must be obtained that matches the account’s region. Once a gift card is redeemed to the correct-region Microsoft account, its full value is added to the account balance and can be used in Microsoft Store online, on Windows, or on Xbox.
For redeeming:
- Go to the Redeem Code page, sign in, and enter the 25-character code.
- Alternatively, sign in to the Microsoft account dashboard, go to Payment & billing → Redeem, and enter the code.
References: