Bad return code: Unauthorized
Re: getting error: getDevices: Bad return code: Unauthorized
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)
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
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)
getDevices: Bad return code: Unauthorized (216)
Craftsman gives:
myqLogin failure, Bad return code: The username or password you entered is incorrect. Try again. (203)
- FlyingDiver
- Posts: 7323
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Bad return code: Unauthorized
Here's what I know about this problem:
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.
- It's effecting some subset of the user base. I cannot replicate the issue myself.
- 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.
- It's not a login issue. The username/password work, but they're just not allowed to make the API calls the plugin uses.
- So far I haven't seen any reports on this from other projects that use the same API.
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.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Bad return code: Unauthorized
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.
- FlyingDiver
- Posts: 7323
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Bad return code: Unauthorized
Sounds like the exact same problem. Where did you get the Homebridge-Chamberlain plugin from?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.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7323
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Bad return code: Unauthorized
I checked all the other MyQ/Chamberlain projects on Github, and none of them have anything about this error.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Bad return code: Unauthorized
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??
Are the folks that are still working subscribed to one of those services??
Re: Bad return code: Unauthorized
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...
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...
- jay (support)
- Site Admin
- Posts: 18411
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Bad return code: Unauthorized
Nope -at least not that I'm aware of...LeeButler wrote:Are the folks that are still working subscribed to one of those services??
- FlyingDiver
- Posts: 7323
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Bad return code: Unauthorized
Not me.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??
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7323
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Bad return code: Unauthorized
Not the same error. No help there.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...
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Bad return code: Unauthorized
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.
I didn't touch anything in Indigo, and remote control via the MyQ app still works.
Re: Bad return code: Unauthorized
Sorry to say but I am also getting this error. Started a couple of days ago.
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
Re: Bad return code: Unauthorized
I am also getting the error now. It started yesterday afternoon.
No subscribed services. Chamberlain.
No subscribed services. Chamberlain.