You entered the code incorrectly.
Check for any typo's, check if you entered the 16 digit Nintendo code.
Copy the code which you received from us and go to the following website to redeem the code: https://ec.nintendo.com/redeem.
You or someone else already used this code.
Restart your device and re-login with your Nintendo ID, if the Nintendo credits are not activated in your account - contact Nintendo support.
If you are still experiencing problems after following the above steps? Then please contact Support.