-
Notifications
You must be signed in to change notification settings - Fork 30
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 communicating with Renault API #95
Comments
There was a change of Key on the Renault servers. |
Thank you, I just used the new key and all is working again The key I used from the link you sent, Ae9FDWugRxZQAGm3Sxgk7uJn6Q4CGEA2 |
Hmm, I got it working again with the new key, but it seems to have broken again? Error message seems to be slightly different though. When using the new key (mentioned above), I get this error: While when I use a different/incorrect key, I get this error: Any ideas? |
Problem maybe related to #78? |
Note: https://github.com/hacf-fr/renault-api still works, but in my case the data hasn't changed since 2021-02-07T12:17:58+01:00 and no longer reflects the reality. |
Yes, it seems to be some faulty Gigya integrations out there. |
Starting with today 12:00 CET gigya changed (or never accepted) some parameter-names. See (sorry german) fungus75/ioBroker.zoe2#17 or have a look at the implementation of the gigya-part here: https://github.com/hacf-fr/renault-api/issues |
Please find here which parameter I had to adjust: fungus75/ioBroker.zoe2@c787fda |
And calling account.getAccount is unnecessary, it's enough with accounts.login and accounts.getJWT. |
And it was not the case for pyze either, there are other scripts, apps and so on with faulty Gigya integration. |
So what's the fix to have |
In the Gigya calls (getAccountInfo and getJWT), the parameter "oauth_token" should be changed to "login_token". |
@kozmoz you don't describe your problem so it might not be linked to this discussion
@yannickh it is already the case in pyze since #79 was merged last year |
Exactly the same error as @timmchugh11 who started this issue.
|
You need to update the Kamereon API key!!! |
Alright. Missed the new key for Kamereon, but did update the Gigya API key.
|
I'm still facing issues:
any ideas? |
Same here;
Used the mentioned api keys from above and from keys mentioned in the readme files |
Are you using the correct Gigya API keys for your country? These are different for each country. |
I used the GB version before, but even with nl_NL no change... |
Hi, i had the same issue and now it workes with the keys of kozmos.
German
but the Kamereon Key is bitchy: neither the german nor the english version was successfull. Here i got the error message: "Error communicating with Renault API! Only the Kammereon key of kozmos worked. So a question to him: how did you get this key? |
Key retrieval has changed on the Renault side. There is a discussion on hacf-fr/renault-api#184 |
In the third message of this thread. Initially I also missed that one, but later I realised that was the fix for access_denied. |
Same Problem here:
|
@heckmic: Did you use exactly the following KEY? Only this one worked for me. And of course you have to login again: pyze login |
I am using the updated key Ae9FDWugRxZQAGm3Sxgk7uJn6Q4CGEA2 , but I am still getting this error: {"type":"FUNCTIONAL","messages":[{"code":"err.func.wired.unauthorized","message":"The access is unauthorized"}],"errors":[{"errorCode":"err.func.wired.unauthorized","errorMessage":"The access is unauthorized"}],"error_reference":"FUNCTIONAL"} I am using both direct url call and GET/POST using a Rest API Chrome extension, no luck. |
I also know that there is a direct link which gives a very long JSON response, containing a lot of data, including my VIN.... but I found it by chance after dozens of attempts and I cannot get it anymore, any idea how it could be formed? |
Are you using pyze? If not maybe you could download this library and look in the code how the web-service or link is formed. |
Indeed I am reverse-engineering pyze and other scripts to figure out which are the direct calls to perform, to implement them in Javascript, but I am stuck at Kamereon authentication (Gigya part is fine). |
Have a look at that: https://github.com/fungus75/ioBroker.zoe2/blob/master/main.js |
This is what I discovered till now: Download api keys GIGYA_KEY and KAMEREON_KEY: Download Gigya session cookie (cookieValue): https://accounts.eu1.gigya.com/accounts.login?loginID=MAIL&password=PASSWORD&apikey=GIGYA_KEY Download Kamereon Person Id (PersonId): https://accounts.eu1.gigya.com/accounts.getAccountInfo?apikey=GIGYA_KEY&login_token=COOKIEVALUE Download Gigya JWT token (Id_token): https://accounts.eu1.gigya.com/accounts.getJWT?apikey=GIGYA_KEY&login_token=COOKIEVALUE Then query Kamereon server in some way which I don't understand yet... To get the account(s) associated to a personId: https://api-wired-prod-1-euw1.wrd-aws.com/commerce/v1/persons/PERSONID?country=IT To get vehicles associated to an account: |
LoginID and password for GIGYA is My renault app login? |
I think the APi key has just changed again, breaking all the custom apps. |
This should be the new kamereon api key: YjkKtHmGfaceeuExUDKGxrLZGGvtVS0J Source: https://gist.github.com/mountbatt/772e4512089802a2aa2622058dd1ded7 |
Hello,
About 2 days ago my connection stopped working and I get the error,
Error communicating with Renault API!
{"error":"access_denied","error_description":"Unauthorized"}
Is this an issue with pyze? I have tried re adding my credentials and I get the same error when logging in.
I am still able to use the Renault app and the data is up to date, so I don't think it is my account.
Thanks
The text was updated successfully, but these errors were encountered: