jeff-winn / homebridge-automower-platform

A platform plugin for Homebridge to connect your Husqvarna Automower and Gardena Smart robotic lawn mowers to Apple HomeKit.
MIT License
10 stars 0 forks source link

Locked out accounts seem like a bad password #174

Closed jeff-winn closed 1 year ago

jeff-winn commented 1 year ago

Describe The Bug: When an account with Husqvarna gets locked out, the application seems like the issue is with the user credentials rather than an issue with the account from Husqvarna.

To Reproduce:

Expected behavior: The error should identify the account has been locked, rather than identifying the credentials were wrong.

Logs:

[11/6/2022, 4:13:57 PM] [Homebridge Automower Platform] Received response: 0a0709d9-5d08-46ed-a80c-621f39923f38
 {"status":400,"statusText":"Bad Request","body":{"error":"invalid_request","error_description":"Blocked for too many login-attempts","error_code":"user.is.blocked"}}
[11/6/2022, 4:13:57 PM] [Homebridge Automower Platform] The credentials supplied were not valid, please check your configuration and try again.

Environment: