Bad return code: Unauthorized

t-star
Posts: 146
Joined: Fri Oct 26, 2007 9:56 pm

Bad return code: Unauthorized

Post by t-star »

Anyone else seeing these messages. Turned debug messages on.

Thoughts?

MyQ Starting MyQ
MyQ Error getDevices: Bad return code: Unauthorized (216)
MyQ Checking for updates...
MyQ No updates are available

Oct 31, 2017, 4:47:16 PM
MyQ Debug logLevel = 10
MyQ Debug myqLogin successfull
MyQ Debug logLevel = 10
MyQ Debug updateFrequency = 0.0
MyQ Debug statusFrequency = 600.0
MyQ Debug myqLogin successfull
MyQ Error getDevices: Bad return code: Unauthorized (216)

Oct 31, 2017, 4:47:40 PM
MyQ Debug myqLogin successfull
MyQ Error getDevices: Bad return code: Unauthorized (216)
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

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

Post by FlyingDiver »

No idea. I don't get that one even if I use a bad username or opener brand.

Did this work before? Do you have the latest plugin?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
t-star
Posts: 146
Joined: Fri Oct 26, 2007 9:56 pm

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

Post by t-star »

was working fine. I think that I have the latest. It says I have version 7.1.8.

Just noticed it one day in the logs.

Tried to delete the plugin and reinstall it. didn't help.
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

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

Post by FlyingDiver »

What's your poll interval? Maybe it was polling too much and your account got blacklisted. Does the MyQ website and/or App still work?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
t-star
Posts: 146
Joined: Fri Oct 26, 2007 9:56 pm

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

Post by t-star »

set to 10. (default).

Website and app work fine. What do i need to do to totally remove it is i can start over?
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

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

Post by FlyingDiver »

t-star wrote:set to 10. (default).

Website and app work fine. What do i need to do to totally remove it is i can start over?

Well, you could disable the plugin, then delete the preferences file, then re-enable it. You'll need to do the config again. I kinda doubt it'll help. It really looks like your login has been blacklisted somehow.

I'll check and see if there's any update to the library I use to talk to the MyQ servers. I didn't write the underlying comm code.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
t-star
Posts: 146
Joined: Fri Oct 26, 2007 9:56 pm

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

Post by t-star »

the debugging info (first post) shows that the login was successful. So not sure what is going on.
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

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

Post by FlyingDiver »

t-star wrote:the debugging info (first post) shows that the login was successful. So not sure what is going on.
I don't get it either. It's returning a success code on the login, then unauthorized on the devices. Makes no sense to me.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
t-star
Posts: 146
Joined: Fri Oct 26, 2007 9:56 pm

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

Post by t-star »

i re-installed it. no luck.

i will leave it disabled for a while. I also changed the poll to every 2 hours.
dliccardo
Posts: 64
Joined: Mon Jun 09, 2014 9:38 pm

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

Post by dliccardo »

I also starting getting the exact same error with version 7.1.8:

MyQ Error getDevices: Bad return code: Unauthorized (216)

My opener is working normally through the MyQ iOS app.

I'm happy to try beta's, send back lots, etc. if its helpful...
Darren
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

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

Post by FlyingDiver »

Anyone having this issue, please report here what brand you have selected in the config panel.

And let me know what happens if you pick a different brand.

I have a Liftmaster system with two openers, and am unable to replicate this error. There was a problem with the MyQ servers a couple days ago, but that seems to have been corrected.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
dliccardo
Posts: 64
Joined: Mon Jun 09, 2014 9:38 pm

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

Post by dliccardo »

I have a Liftmaster system. When I change configuration to Craftsman, I get a login failure:

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

When I change to Chamberlain, I get the same 216 failure.

Thanks for your attention!
Darren
t-star
Posts: 146
Joined: Fri Oct 26, 2007 9:56 pm

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

Post by t-star »

i have chamberlain selected.
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

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

Post by FlyingDiver »

t-star wrote:i have chamberlain selected.
Any change if you try Liftmaster or Craftsman?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
ZachBenz
Posts: 163
Joined: Sat Feb 08, 2014 9:17 am

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

Post by ZachBenz »

Same exact problem here. I have Liftmaster selected as the brand; haven't changed any settings in months, and everything was working fine until sometime recently.
ZachBenz's Plugins: RingForIndigo
Locked

Return to “MyQ”