cquest/tootbot

Can't log in

Closed this issue · 6 comments

All the account information is correct but it just gives me "ERROR: First Login Failed!" every time, I even changed the password a couple of times already.

Tried switching from email to actual mastodon address but none work. I'm using https://botsin.space/

Had the same problem but could solve it with a change in tootbot.py (used my mail adress instead of username):
(begins in line 82)

            mastodon_api.log_in(
                #username=mastodon,
                'MyLoginMail@Adress',
                [...]

Perhaps it was a change in the Mastodon module? Haven't figured out it yet.

Dinth commented

Thanks, the above worked for me.
But also it looks like the passwords are mishandled, even if they are inside of quotes. Having a complex password with lots of special characters completely breaks the script

@singlespeedfahrer's solution works... but:
Another thing to make sure is to have the email address in all lowercase letters. If there's any uppercase character, it will result in the dreaded ERROR: First Login Failed! error

I am still getting this error even after we moved to using secret. any ideas? looks like secret has a newline in it.

Seems like its failing on login in step specifically.