Jump to content

Seems like MyQ is throwing an error today. -Bad Request for url


toddhutch

Recommended Posts

I had to reset equipment last night, and I'm seeing an error show up in the logs this morning when the garage door status wasn't returning the correct results.

 

Anyone having issues with MyQ? 

 

2020-07-02 12:10:46,831 [Controller] [WARNING] get_device_list() returned no devices.

2020-07-02 12:11:11,521 [Controller] [DEBUG] Updating node states in Controller.shortPoll()...

2020-07-02 12:11:11,522 [Controller] [DEBUG] In get_device_list()...

2020-07-02 12:11:11,523 [Controller] [DEBUG] In update_security_token()...

2020-07-02 12:11:11,835 [Controller] [WARNING] HTTP POST in update_security_token() failed: 400 Client Error: Bad Request for url: https://myqexternal.myqdevice.com/api/v4/User/Validate

2020-07-02 12:11:11,836 [Controller] [WARNING] get_device_list() returned no devices.

 

When I go to the URL above using a browser I see this -

{
    "SecurityToken": "",
    "ReturnCode": "0",
    "ErrorMessage": "please contact customer care, supportID: 6158813921353256080",
    "CorrelationId": ""
}

 

Link to comment
Share on other sites

Me too...


 
2020-07-02 10:18:52,060 [Controller] [DEBUG] Updating node states in Controller.shortPoll()... 2020-07-02 10:18:52,061 [Controller] [DEBUG] In get_device_list()... 2020-07-02 10:18:52,062 [Controller] [DEBUG] In update_security_token()... 2020-07-02 10:18:52,450 [Controller] [WARNING] /usr/local/lib/python3.7/socket.py:660: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.250', 48843), raddr=(10.83.97.236', 443)> 2020-07-02 10:18:52,452 [Controller] [WARNING] HTTP POST in update_security_token() failed: 400 Client Error: Bad Request for url: https://myqexternal.myqdevice.com/api/v4/User/Validate 2020-07-02 10:18:52,453 [Controller] [WARNING] get_device_list() returned no devices.
2020-07-02 10:19:57,192 [Controller] [DEBUG] Updating node states in Controller.shortPoll()...
2020-07-02 10:19:57,193 [Controller] [DEBUG] In get_device_list()...
2020-07-02 10:19:57,194 [Controller] [DEBUG] In update_security_token()...
2020-07-02 10:19:57,465 [Controller] [WARNING] /usr/local/lib/python3.7/socket.py:660: ResourceWarning: unclosed <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.250', 48366), raddr=('10.83.90.236', 443)>
2020-07-02 10:19:57,466 [Controller] [WARNING] HTTP POST in update_security_token() failed: 400 Client Error: Bad Request for url: https://myqexternal.myqdevice.com/api/v4/User/Validate
2020-07-02 10:19:57,467 [Controller] [WARNING] get_device_list() returned no devices.
 
I mucked with the ip addresses/ports
Link to comment
Share on other sites

Looks like they just depricated their old API on July 1st, and now v5 is only support.

 

Home Bridge Thread-

 

https://github.com/hjdhjd/homebridge-myq2/issues/44#issuecomment-652837937

 

 

myq login
https://api.myqdevice.com/api/v5/Login

headers:
Content-Type:application/json
User-Agent:myQ/19569 CFNetwork/1107.1 Darwin/19.0.0
MyQApplicationId:JVM/G9Nwih5BwKgNCjLxiFUQxQijAebyyg8QUHr7JOrP+tuPb8iHfRHKwTmDzHOu
ApiVersion:5.1

get devices and status
http://api.myqdevice.com/api/v5.1/Accounts/{{AccountID}}/Devices

headers:
Content-Type:application/json
User-Agent:myQ/19569 CFNetwork/1107.1 Darwin/19.0.0
MyQApplicationId:JVM/G9Nwih5BwKgNCjLxiFUQxQijAebyyg8QUHr7JOrP+tuPb8iHfRHKwTmDzHOu
ApiVersion:5.1

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...