-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 403 when getting lock-status endpoint (Zoe50) #596
Comments
This is not the only one "forbidden endpoint", there are also HVAC-SESSIONS, TRIPS, TRIP-HISTORY, and others about horns, lights, windows,.... https://gitlab.com/tobiaswkjeldsen/dartnissanconnect/-/issues/1#note_893392557 |
Currently there is no "official" way to know which endpoints are supported by which vehicles. Technically you didn't receive a 403 error, but a 502 error
Since you have received a 502 error, I suggest that you open a PR to adjust renault-api/src/renault_api/kamereon/models.py Lines 48 to 57 in 0a4c224
|
Not wanting to necro this thread, but on my Zoe40, I'm getting in home-assistant:
But no idea what |
Hello,
I'm having an issue, with the API for the lock-status endpoint.
I first noticed this issue using the renault integration for Home Assistant (not the custom one) where all the entities regarding status of doors or hatch are unavailable.
I tried debugging by trying to directly using this API in Python and in CLI and I'm getting an error 403 : Forbidden.
Trace got in CLI:
PS C:\Users\gleclercq> renault-api --debug http get /commerce/v1/accounts/{accountID}/kamereon/kca/car-adapter/v1/cars/{VIN}/lock-status
DEBUG:renault_api.kamereon:Received Kamereon response 502 on GET to https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/accounts/{accountID}/kamereon/kca/car-adapter/v1/cars/{VIN}/lock-status?country=FR: {"type":"TECHNICAL","messages":[{"code":"err.tech.502","message":"{\"errors\":[{\"status\":\"502\",\"code\":\"gateway.processing\",\"title\":\"VNEXT\",\"detail\":\"an internal error occured while processing request : 403 FORBIDDEN\"}]}"}],"errors":[{"errorCode":"err.tech.502","errorMessage":"{\"errors\":[{\"status\":\"502\",\"code\":\"gateway.processing\",\"title\":\"VNEXT\",\"detail\":\"an internal error occured while processing request : 403 FORBIDDEN\"}]}"}],"error_reference":"TECHNICAL"}
Error: ('err.tech.502', 'VNEXT an internal error occured while processing request : 403 FORBIDDEN')
All other endpoints are working correctly, only this one seems to reply with an 403 forbidden.
I saw in another issue that it may be an endpoint for the Nissan car but as nothing is written about that on the docs (neither here or on the HomeAssistant integration page) I still wanted to open an issue to see if some other owner of Renault Zoé 50 has the same issue or not.
All services contracts are valid and I'm on the latest update in my car.
Thanks for your help.
-Gauthier
The text was updated successfully, but these errors were encountered: