Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_encryption_key is not working: Authentication failed: Incorrect username or password, status code: 2020 #239

Open
carferrer opened this issue May 27, 2024 · 5 comments

Comments

@carferrer
Copy link

I can`t get the locks encryption key. I get the error "Authentication failed: Incorrect username or password, status code: 2020". I have double check user, password, change password and nit work. II can login to the website https://eu.switch-bot.com. My country region is Spain.

@carferrer
Copy link
Author

I have create a new account on switchbot website and works fine. It looks like have been and account update and with my old one (7 devices) does'nt work and with the new one works (1 device).

@wunderbaum
Copy link

I had to type it manually, everywhere else it was possible with copypaste. Maybe this helps someone.

@huyuwei1996
Copy link
Contributor

The users of this website and the users of the SwitchBot app do not share the same account. If you have only logged in through the website, you are likely using an official website account.
Can you enter and login with your username and password on the app?

@nerumo
Copy link

nerumo commented Aug 12, 2024

I'm struggling with this. I even created a fresh account with a different email (registered within the app) and I get the 2020 error. My region is switzerland. Are there different Apis for different regions?

Which credentials do I need? from the website or from the app?

@carferrer
Copy link
Author

You need the credential used in the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants