Page 2 of 4

Re: getting error: getDevices: Bad return code: Unauthorized

PostPosted: Sun Nov 05, 2017 9:56 pm
by LeeButler
I get the error when I use Chamberlain or LiftMaster. The debug log says "myqLogin successfull" then errors out.

Started plugin "MyQ 7.1.8"
MyQ Starting MyQ
MyQ Debug updateFrequency = 86400.0
MyQ Debug statusFrequency = 300.0
MyQ Debug deviceStartComm: Garage Door 1: Device Version is up to date
MyQ Debug deviceStartComm: Adding Device Garage Door 1 (1051505904) to MyQ device list
MyQ Debug deviceStartComm: Garage Door 2: Device Version is up to date
MyQ Debug deviceStartComm: Adding Device Garage Door 2 (967123630) to MyQ device list
MyQ Debug deviceStartComm: Garage Door 3: Device Version is up to date
MyQ Debug deviceStartComm: Adding Device Garage Door 3 (667359148) to MyQ device list
MyQ Checking for updates...
MyQ Debug Plugin version detected: 7.1.8
MyQ Debug Current version is: 7.1.8
MyQ Debug Getting latest release from FlyingDiver/Indigo-MyQ...
MyQ Debug GET /repos/FlyingDiver/Indigo-MyQ/releases/latest
MyQ Debug HTTP 200 OK
MyQ Debug Latest release is: 7.1.8
MyQ No updates are available
MyQ Debug myqLogin successfull
MyQ Error getDevices: Bad return code: Unauthorized (216)

Re: getting error: getDevices: Bad return code: Unauthorized

PostPosted: Mon Nov 06, 2017 4:36 pm
by t-star
liftmaster and chamberlain gives the same error:
getDevices: Bad return code: Unauthorized (216)

Craftsman gives:
myqLogin failure, Bad return code: The username or password you entered is incorrect. Try again. (203)

Re: Bad return code: Unauthorized

PostPosted: Mon Nov 06, 2017 7:01 pm
by FlyingDiver
Here's what I know about this problem:


  1. It's effecting some subset of the user base. I cannot replicate the issue myself.
  2. It effects Chamberlain and Liftmaster, which are the same thing under the covers. They use the same website URLs. Craftsman is different, but no reports on those yet.
  3. It's not a login issue. The username/password work, but they're just not allowed to make the API calls the plugin uses.
  4. So far I haven't seen any reports on this from other projects that use the same API.

The API the plugin uses is NOT an official MyQ one. It was reverse engineered and all I did was replicate the API calls from other GitHub projects. There is no avenue to contact anyone at MyQ about this. Nor any documentation available about the error message.

At this point, the only suggestion I can make for users encountering this error is to try a new user account. Which means you'll need to delete the openers from your current MyQ account, create a new one with a different email address, then add the openers to the new account. This MIGHT help. Or it might not. Good luck.

This is why the Indigo team doesn't use unofficial APIs in their supported plugins. And why I don't do plugins for pay.

Re: Bad return code: Unauthorized

PostPosted: Wed Nov 08, 2017 1:33 pm
by LeeButler
For what it is worth, I am also running Homebridge with the Homebridge-Chamberlain plugin that bridges MyQ to Apple Homekit and that plug-in also cannot get a list of devices from https://www.mychamberlain.com although there is no login failure.

Re: Bad return code: Unauthorized

PostPosted: Wed Nov 08, 2017 2:14 pm
by FlyingDiver
LeeButler wrote:
For what it is worth, I am also running Homebridge with the Homebridge-Chamberlain plugin that bridges MyQ to Apple Homekit and that plug-in also cannot get a list of devices from https://www.mychamberlain.com although there is no login failure.


Sounds like the exact same problem. Where did you get the Homebridge-Chamberlain plugin from?

Re: Bad return code: Unauthorized

PostPosted: Wed Nov 08, 2017 11:43 pm
by LeeButler

Re: Bad return code: Unauthorized

PostPosted: Thu Nov 09, 2017 7:11 am
by FlyingDiver
I checked all the other MyQ/Chamberlain projects on Github, and none of them have anything about this error.

Re: Bad return code: Unauthorized

PostPosted: Thu Nov 09, 2017 11:39 am
by LeeButler
Just discovered that the latest MyQ iPhone app lets you subscribed to Chamberlain integration services (https://myqservices.com) that include IFTTT, Google Home and Alpine Connect.

Are the folks that are still working subscribed to one of those services??

Re: Bad return code: Unauthorized

PostPosted: Thu Nov 09, 2017 12:39 pm
by LeeButler
Found a newer Liftmaster homebridge plug-in at https://github.com/luisiam/homebridge-liftmaster2. That one is working correctly on my system. Should work for Chamberlain since they use the same webservice destination.

I am still getting the 216 error in the MyQ Indigo plugin, so the homebridge plugin working is not due to a MyQ service issue being resolved...

Don't know if it is the same error, but the Liftmaster2 github log has a fix for "No Door Found" at https://github.com/luisiam/homebridge-l ... /issues/17. Maybe that will help...

Re: Bad return code: Unauthorized

PostPosted: Thu Nov 09, 2017 10:43 pm
by jay (support)
LeeButler wrote:
Are the folks that are still working subscribed to one of those services??


Nope -at least not that I'm aware of...

Re: Bad return code: Unauthorized

PostPosted: Fri Nov 10, 2017 4:17 am
by FlyingDiver
LeeButler wrote:
Just discovered that the latest MyQ iPhone app lets you subscribed to Chamberlain integration services (https://myqservices.com) that include IFTTT, Google Home and Alpine Connect.

Are the folks that are still working subscribed to one of those services??


Not me.

Re: Bad return code: Unauthorized

PostPosted: Fri Nov 10, 2017 4:26 am
by FlyingDiver
LeeButler wrote:
Don't know if it is the same error, but the Liftmaster2 github log has a fix for "No Door Found" at https://github.com/luisiam/homebridge-l ... /issues/17. Maybe that will help...


Not the same error. No help there.

Re: Bad return code: Unauthorized

PostPosted: Fri Nov 10, 2017 9:56 pm
by jon
I'm seeing that error too now. Was working fine earlier today, then the error started happening just before 11am.

I didn't touch anything in Indigo, and remote control via the MyQ app still works.

Re: Bad return code: Unauthorized

PostPosted: Mon Nov 13, 2017 10:57 am
by bkmar1192
Sorry to say but I am also getting this error. Started a couple of days ago.


Sent from my iPhone using Tapatalk

Re: Bad return code: Unauthorized

PostPosted: Wed Nov 22, 2017 6:41 pm
by NewfD90
I am also getting the error now. It started yesterday afternoon.

No subscribed services. Chamberlain.