Heroku No such account error

To get started: I can log into hero with my email and password.

When logging into heroku through my terminal using the same email and password credentials, I get the following error.

heroku login
Email: myemail@email.com
Password:
No such account: myemail@email.com

      

+3


source to share


5 answers


check [Project Root]/.git/config

there are some settings heroku accounts specific

:

[heroku]
    account = <account name>

      



you can delete those two lines and then try to login again Just save what you delete :)

+14


source


Try deleting your existing credentials rm -rf ~/.heroku/plugins/heroku-accounts

and heroku login

enter your credentials



+5


source


Try to make sure you have the most recent version of your hero / toolbelt installed.

0


source


Check .git/config

for remotes references such as "git @ heroku.account" and remove them.

Also, check the ~/.ssh/config

link to that account and take it out.

Then reinstall auth heroku auth:logout

and heroku auth:login

and possibly heroku keys:add

so that everything is restored.

0


source


I think the problem is a conflict between Heroku toolbox and Heroku gem. I also had the same problem. Read this article to solve it - http://bit.ly/1sku20D

0


source







All Articles