hacf-fr / renault-api

https://readthedocs.org/projects/renault-api/
MIT License
109 stars 38 forks source link

Always "invalid loginID or password" #1020

Open vrobert78 opened 1 year ago

vrobert78 commented 1 year ago

Hi,

I'm trying for the first time your package. I'm based in France, so I set the locale to fr_FR. I'm trying to connect with my "My Renault" credentials, which are corrects (I just checked to reconnect with the official app), but I always receive a "Login failed: (403042, 'invalid loginID or password')."

Does it work correctly for others? or is it just me?

Best, Vincent

epenet commented 1 year ago

It is still working for me...

Please note that there are multiple Renault credentials. In particular, I know that website credentials DO NOT work in the phone app, even if they both use "MyRenault" as a title.

danjo314 commented 11 months ago

I have also the issue with the "invalid LoginId or password" error. And I am definitly using the correct credentials as I did login with these credentials in the past and did not change them.

I am from Germany. I also checked the Gigya Key but there seems to be no change.

vrobert78 commented 11 months ago

I just double-checked, I'm 100% sure of my credentials, they're working both on the app https://play.google.com/store/apps/details?id=com.renault.myrenault.one.fr and the website https://myr.renault.fr/.

epenet commented 11 months ago

For my part, it is still all working correctly. I have just tried again from scratch, deleted "~/.credentials/renault-api.json" and ran "renault-api status". I got the results just fine...

I really have no idea why it is not working for your account!

matclab commented 10 months ago

Adding my experience. The CLI works well, but when using the API with:

    async with aiohttp.ClientSession() as websession:
        client = RenaultClient(websession=websession, locale="fr_FR")
        email = os.environ.get("RENAULT_EMAIL")
        password = os.environ.get("RENAULT_PASS")
        if not email or not password:
            logger.error("empty RENAULT_EMAIL or RENAULT_PASS variable")
            sys.exit(1)
        await client.session.login("email", "password")

I always get renault_api.gigya.exceptions.InvalidCredentialsException: (403042, 'invalid loginID or password')