Skip to content

Nissan changed format again, getting a 404 on attempting to login #107

@willemcvu

Description

@willemcvu

Getting this error now, I'm guessing that maybe Nissan changed their API again:

>>> leaf = Leaf('my-email@gmail.com', 'my-password, region_code = 'NNA') 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/willem/.local/lib/python3.8/site-packages/leafpy/leaf.py", line 17, in __init__
    self.custom_sessionid, self.VIN = login(username, password, self.region_code)
  File "/home/willem/.local/lib/python3.8/site-packages/leafpy/auth.py", line 28, in login
    r.raise_for_status()
  File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://gdcportalgw.its-mo.com/api_v190426_NE/gdc/UserLoginRequest.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions