Hello Ebargamian,
We understand you're having an issue signing in with your Apple ID using the verification code being sent to you.
While it's unclear what the issue is, as you're receiving the verification codes it seems without issue, check out the following resource for more help: Get a verification code and sign in with two-factor authentication
If you continue to have issues, you may want to try approving from another trusted device or else change your Apple ID password and try again. For help doing so, check out: Change your Apple ID password
We hope this information helps get you on a path towards a solution.
Take care!