0

It is my first app that I am deploying to heroku but I am stuck on this error and do not know how to go about it. I've tried heroku login-i , this doesn't work for me because I have MFA activated.

Sheryna
  • 77
  • 1
  • 10
  • In my case, I was using PowerShell to log in and switched to git bash, which worked great. check https://stackoverflow.com/questions/63363085/ip-address-mismatch-on-signing-into-heroku-cli answers for more solutions others have tried. – oyeyipo May 30 '22 at 20:57

2 Answers2

2

Try the following step to resolve the IP mismatch issue:

  • Navigate to https://dashboard.heroku.com/account/applications
  • Click on create authorization button in the Authorizations tab.
  • Add a description and leave expire as blank.
  • Copy the Authorization token.
  • Open terminal/heroku cli, run heroku login -i
  • Enter the mail id and provide authoriation token as password.
Codemaker2015
  • 12,190
  • 6
  • 97
  • 81
0

I see your command is correct, but your syntax is incorrect. heroku login -i is the proper syntax. Between the login and -i, there should be a space between them. I have attached a screenshot with that as well. If you still encounter issues, please let me know.

Screenshot attached for following commands

m4n0
  • 29,823
  • 27
  • 76
  • 89
Naveen
  • 1
  • 1