ardevd / jlrpy

Python library for interacting with the JLR Remote Car API
MIT License
84 stars 29 forks source link

/geocode/reverse returns HTTP error 400 #102

Closed alandpearson closed 1 year ago

alandpearson commented 2 years ago

Hi There,

First great job on this API. It is super useful to be able to get this info from my car into openHab. Super useful and great work. On trying it though, I notice that /geocode/reverse/ returns 400. inControl obviously still has this feature as the app shows it, but I wonder has the API changed or is there an error in the documentation ? Any pointers appreciated and thanks again.

Alan

ardevd commented 2 years ago

Hi there and thanks for reporting the issue. It does seem like the API has changed but there is also a bug in jlrpy. However, if you run the request as documented in the API documentation, you should get a 204 response and not 400. I'll put it on my list to investigate but I wont be able to look into it this week.

alandpearson commented 2 years ago

OK, thank you. I’m not able to figure out how to run requests to the API outside of jlrpy, so I’ll have to patiently await your help on it.

Thanks again for a super API

Alan

On 26 Jul 2022, at 16:33, ardevd @.***> wrote:

Hi there and thanks for reporting the issue. It does seem like the API has changed but there is also a bug in jlrpy. However, if you run the request as documented in the API documentation, you should get a 204 response and not 400. I'll put it on my list to investigate but I wont be able to look into it this week.

— Reply to this email directly, view it on GitHub https://github.com/ardevd/jlrpy/issues/102#issuecomment-1195638205, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7LLAWJVXQFDDMULYOXXLTVWAAMPANCNFSM54WKA4WA. You are receiving this because you authored the thread.