homebridge-august icon indicating copy to clipboard operation
homebridge-august copied to clipboard

Bug: Validated, Discover Devices: Error: POST failed with: 403

Open rightedges opened this issue 3 months ago • 18 comments

Describe The Bug

Upgraded to v2.1.0 and recieved a new 403 error

To Reproduce

Upgrade to v2.1.0 and restart the plugin

Expected behavior

No error messages

Relevant log output

[5/8/2024, 11:17:00 AM] [August] Initializing August platform...
[5/8/2024, 11:17:00 AM] [August] Initializing child bridge XX:XX:XX:XX:XX:XX
[5/8/2024, 11:17:01 AM] [August] Launched child bridge with PID 18445
[5/8/2024, 11:17:01 AM] [August] Loaded homebridge-august v2.1.0 child bridge successfully
[5/8/2024, 11:17:01 AM] Loaded 0 cached accessories from cachedAccessories.0E67EC312ADF.
[5/8/2024, 11:17:01 AM] [August] [DEBUG] Using Config Logging: debug
[5/8/2024, 11:17:01 AM] [August] [DEBUG] Plugin Version: 2.1.0
[5/8/2024, 11:17:01 AM] [August] [DEBUG] Finished initializing platform: August
[5/8/2024, 11:17:01 AM] [August] Platform Config: {"logging":"debug"}
[5/8/2024, 11:17:01 AM] [August] [DEBUG] Using Default Refresh Rate (5 minutes).
[5/8/2024, 11:17:01 AM] [August] [DEBUG] Executed didFinishLaunching callback
[5/8/2024, 11:17:01 AM] [August] [DEBUG] Config Credentials: {"augustId":"[email protected]","password":"XXXXXXXX","countryCode":"CA","installId":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX","isValidated":true,"notice":"Keep your tokens a secret!"}, isValidated: true
[5/8/2024, 11:17:02 AM] [August] [DEBUG] Config OK
[5/8/2024, 11:17:02 AM] Homebridge v1.8.1 (HAP v0.12.0) (August) is running on port 43273.
[5/8/2024, 11:17:02 AM] [August] Validated, Discover Devices: Error: POST failed with: 403

Config for homebridge-august

{
            "name": "August",
            "credentials": {
                "augustId": "[email protected]",
                "password": "XXXXXXXXX",
                "countryCode": "CA",
                "installId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX",
                "isValidated": true,
                "notice": "Keep your tokens a secret!"
            },
            "options": {
                "logging": "debug"
            },
            "_bridge": {
                "username": "XX:XX:XX:XX:XX:XX",
                "port": 43273
            },
            "platform": "August"
        }

Screenshots

No response

Device & Model

Lock Model YR C/D 226/246/256

Node.js Version

v20.11.0

NPM Version

10.2.4

Homebridge Version

v1.8.1

Homebridge August Plugin Version

v2.1.0

Homebridge Config UI X Plugin Version

No response

Operating System

macOS Ventura

rightedges avatar May 08 '24 18:05 rightedges

That's odd, with V 2.10 I'm getting

[August] Validated, Discover Devices: Error: GET failed with: 401

simonrb2000 avatar May 09 '24 22:05 simonrb2000

And with 2.0.0 it was working fine?

donavanbecker avatar May 09 '24 22:05 donavanbecker

Unfortunately not. I had this error before this update

[August] Discover Devices 2: TypeError: Cannot convert undefined or null to object

simonrb2000 avatar May 09 '24 22:05 simonrb2000

I got the "Cannot convert undefined or null to object" with 2.0.0 and now 2.1.0 "Validated, Discover Devices: Error: POST failed with: 403".

rightedges avatar May 09 '24 23:05 rightedges