Here are some reasons as to why you couldn't claim the code:
1) Codes are claimed within seconds of them being announced.
2) Codes have limited claims.
3) Certain codes have requirements that you didn't meet.
4) Your internet connection was unstable.
5) Codes can only be claimed once per household/network.