homebridge-plugins / homebridge-roomba2

Homebridge plugin to connect iRobot Roomba devices with Homebridge/HomeKit.
MIT License
146 stars 17 forks source link

invalid Login #141

Open jayarrtee opened 1 year ago

jayarrtee commented 1 year ago

Following instructions to retrieve robotwd and blid, entries in the terminal yield: errorCode: 403042, errorDetails: 'invalid loginID or password'

Checked the credentials, and they are correct, successfully login on app and web browser.

Expected Behavior

Retrieve robotwd and blid

Current Behavior

returned invalid loginID or password

Steps to Reproduce (for bugs)

Versions

Configuration

Homebridge Log / Command Output

jayarrtee commented 1 year ago

hoobs@hoobs:~$ sudo npm install -g dorita980 [sudo] password for hoobs: npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

changed 126 packages in 13s

4 packages are looking for funding run npm fund for details hoobs@hoobs:~$ cd /usr/lib/node_modules/dorita980 hoobs@hoobs:/usr/lib/node_modules/dorita980$ sudo npm run get-password-cloud email@email.com password

dorita980@3.1.11 get-password-cloud node ./bin/getPasswordCloud.js

Authentication error. Please check your credentials. { callId: 'e2cf049a6c154d958778dc3506868140', errorCode: 403042, errorDetails: 'invalid loginID or password', errorMessage: 'Invalid LoginID', apiVersion: 2, statusCode: 403, statusReason: 'Forbidden', time: '2023-07-20T21:59:38.639Z' } hoobs@hoobs:/usr/lib/node_modules/dorita980$

JTarasovic commented 1 year ago

@jayarrtee You should probably change your password and redact your username and password from your post above.

You could try single quoting your password as it looks like it has an asterisk and hash which could be getting interpreted by the shell before being passed to get-password-cloud.

e.g. npm run get-password-cloud "username@domain.com" '*password-with-special-chars-in-single-quotes*'

Tjda commented 4 months ago

@jayarrtee You should probably change your password and redact your username and password from your post above.

You could try single quoting your password as it looks like it has an asterisk and hash which could be getting interpreted by the shell before being passed to get-password-cloud.

e.g. npm run get-password-cloud "username@domain.com" '*password-with-special-chars-in-single-quotes*'

Thanks, quotes solve my problem!