I solved the problem. I received 4 codes and finally one of them was correct. But I dont know why I get so many codes
I guess it's because you have too many attempts in logging in or there's an error between the SMS provider of coinbase or SMS provider from yours at that when you time you try to login.
Anyways since you solved this problem already, much better if you close this thread.