Page 1 of 4

Bad return code: Unauthorized

PostPosted: Tue Oct 31, 2017 2:51 pm
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)

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

PostPosted: Tue Oct 31, 2017 3:06 pm
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?

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

PostPosted: Tue Oct 31, 2017 3:12 pm
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.

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

PostPosted: Tue Oct 31, 2017 3:13 pm
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?

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

PostPosted: Tue Oct 31, 2017 6:33 pm
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?

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

PostPosted: Tue Oct 31, 2017 7:16 pm
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.

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

PostPosted: Tue Oct 31, 2017 7:19 pm
by t-star
the debugging info (first post) shows that the login was successful. So not sure what is going on.

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

PostPosted: Tue Oct 31, 2017 7:24 pm
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.

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

PostPosted: Tue Oct 31, 2017 7:40 pm
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.

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

PostPosted: Fri Nov 03, 2017 11:21 pm
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

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

PostPosted: Sat Nov 04, 2017 7:20 am
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.

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

PostPosted: Sat Nov 04, 2017 1:55 pm
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

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

PostPosted: Sat Nov 04, 2017 3:30 pm
by t-star
i have chamberlain selected.

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

PostPosted: Sat Nov 04, 2017 3:59 pm
by FlyingDiver
t-star wrote:
i have chamberlain selected.


Any change if you try Liftmaster or Craftsman?

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

PostPosted: Sun Nov 05, 2017 9:49 pm
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.