Skip to content
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

location update not working (Canada) #32

Open
johnty opened this issue Feb 12, 2018 · 3 comments
Open

location update not working (Canada) #32

johnty opened this issue Feb 12, 2018 · 3 comments

Comments

@johnty
Copy link

johnty commented Feb 12, 2018

Thanks for the library! All the examples seem to work (region: NCI/canada), except for the get-leaf-location example, which returns a error -5256: [MyCarFinder] API call error

Is this possibly due to the API not available in Canada? Also, just for curiosity's sake, do any other regions allow you to find the location of the vehicle?

@johnty johnty changed the title location update not working location update not working (Canada) Feb 12, 2018
@SchuldtOH
Copy link

Same for me in Germany. I figured out, it is because of the missing gdc_user_id. This is empty in my case:

Traceback (most recent call last):
File "get-leaf-location.py", line 31, in
result_key = l.request_location()
File "/usr/local/lib/python2.7/dist-packages/pycarwings2/pycarwings2.py", line 415, in request_location
"UserId": self.session.gdc_user_id, # this userid is the 'gdc' userid
File "/usr/local/lib/python2.7/dist-packages/pycarwings2/pycarwings2.py", line 101, in _request_with_retry
ret = self._request(endpoint, params)
File "/usr/local/lib/python2.7/dist-packages/pycarwings2/pycarwings2.py", line 141, in _request
raise CarwingsError
pycarwings2.pycarwings2.CarwingsError

@karora
Copy link

karora commented Aug 11, 2018

Same for me in Ireland. I have a late 2015 Tekna, but I can't see what the gdc_user_id and password would be for?

Is there someone for whom this does work who could say whether gdc_user_id & password in their response matches the login userID and password, or are they something completely different, and if they are, where can we get them?

@filcole
Copy link

filcole commented Jan 4, 2019

get-leaf-location.py for me, based in the UK using my fork of pycarwings2

POST /api_v181217_NE/gdc/UserLoginRequest.php

returns .... "gdcUserId":"","gdcPassword":"", ....
it does return "dcmId":"xxxxxxxxxx".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants