Error: Unknown error attempting to reach phone.

Answer:  There are a lot of reasons why this error occurs:

We are advising our user to  use 'Authenticator' as the default for login codes. Authenticator allows to avoid all of those issues, that's why it's preferable to use it instead of phone. Learn more about Authenticator HERE

Related Article: 

Codes Security (SMS)