Closed pioupiou92 closed 2 years ago
Describe the bug
get_user_access_token fails with error: Exception: Unable to login, missing location redirect (European car!)
To Reproduce
- Run client = connectedcar.AuthClient('9fb503e0-715b-47e8-adfd-ad4b7770f73b', None, None) .
Also tested client = connectedcar.AuthClient('9fb503e0-715b-47e8-adfd-ad4b7770f73b', None, None, None, 'EU') with same error
- Run access = client.get_user_access_token(userid, pwd)
Expected behavior
Authentication and token were working OK prior to July 19th 2022. Last successful access on July 19th 2022 at 09:24AM
Desktop (please complete the following information):
OS: Synology DSM 7.1-42661 Update 3
Script running with Python 3.8.12
Any idea?
Pascal
Hi, have you tried upgrading to the latest version?
Hi,
Sure, I’m running the latest version of your SDK.
Thanks Pascal
Le dim. 31 juil. 2022 à 18:05, Ian @.***> a écrit :
Describe the bug
get_user_access_token fails with error: Exception: Unable to login, missing location redirect (European car!)
To Reproduce
- Run client = connectedcar.AuthClient('9fb503e0-715b-47e8-adfd-ad4b7770f73b', None, None) .
Also tested client = connectedcar.AuthClient('9fb503e0-715b-47e8-adfd-ad4b7770f73b', None, None, None, 'EU') with same error
- Run access = client.get_user_access_token(userid, pwd)
Expected behavior
Authentication and token were working OK prior to July 19th 2022. Last successful access on July 19th 2022 at 09:24AM
Desktop (please complete the following information):
-
OS: Synology DSM 7.1-42661 Update 3
Script running with Python 3.8.12
Any idea?
Pascal
Hi, have you tried upgrading to the latest version?
— Reply to this email directly, view it on GitHub https://github.com/ianjwhite99/connected-car-python-sdk/issues/61#issuecomment-1200452877, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXGNPROBSEPTSK7ZGAD2TXTVW2P5LANCNFSM55FD44XQ . You are receiving this because you authored the thread.Message ID: @.***>
Hi,
Sure, I’m running the latest version of your SDK.
Thanks Pascal
Le dim. 31 juil. 2022 à 18:05, Ian @.***> a écrit :
Describe the bug
get_user_access_token fails with error: Exception: Unable to login, missing location redirect (European car!)
To Reproduce
- Run client = connectedcar.AuthClient('9fb503e0-715b-47e8-adfd-ad4b7770f73b', None, None) .
Also tested client = connectedcar.AuthClient('9fb503e0-715b-47e8-adfd-ad4b7770f73b', None, None, None, 'EU') with same error
- Run access = client.get_user_access_token(userid, pwd)
Expected behavior
Authentication and token were working OK prior to July 19th 2022. Last successful access on July 19th 2022 at 09:24AM
Desktop (please complete the following information):
-
OS: Synology DSM 7.1-42661 Update 3
Script running with Python 3.8.12
Any idea?
Pascal
Hi, have you tried upgrading to the latest version?
— Reply to this email directly, view it on GitHub https://github.com/ianjwhite99/connected-car-python-sdk/issues/61#issuecomment-1200452877, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXGNPROBSEPTSK7ZGAD2TXTVW2P5LANCNFSM55FD44XQ . You are receiving this because you authored the thread.Message ID: @.***>
Thanks Pascal, I'll take a look into this.
Thanks!
@pioupiou92 I'm not seeing any issues on my end. Can you confirm your username and password are correct?
Hi Ian,
Well spotted! For no reason my account is disabled (error CSIAH0320E in FordPass). Could be because of my script tracking my car position every 5mn. I’m going to contact Ford.
Anyway, thank you so much for your help. Very appreciate.
Pascal
Le lun. 1 août 2022 à 00:05, Ian @.***> a écrit :
@pioupiou92 https://github.com/pioupiou92 I'm not seeing any issues on my end. Can you confirm your username and password are correct?
— Reply to this email directly, view it on GitHub https://github.com/ianjwhite99/connected-car-python-sdk/issues/61#issuecomment-1200509401, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXGNPRL2ZWIPKPQOWM6ALVDVW32EFANCNFSM55FD44XQ . You are receiving this because you were mentioned.Message ID: @.***>
Hi Ian, Well spotted! For no reason my account is disabled (error CSIAH0320E in FordPass). Could be because of my script tracking my car position every 5mn. I’m going to contact Ford. Anyway,
Yes that would be the reason why your account got disabled. Ford may re-enable it this time, but they might not next time. I've said this before and it sums up our responsibility to not over use Ford's API system.
I dont think sending refresh_status commands every 5 minutes is a good idea. You would quickly use up alot of the Ford API servers time, that in return, would get attention of the server admin. And they will do something to make it stop or to limit the requests, etc so that things get back to normal. Remember what we are doing here is not approved by ford. They do not have to allow us anything. They have changed things in the past I do believe to stop unauthorized apps/people from accessing the APIs. Ford has been kind and offers this as a courtesy. It costs them money to use AT&T's network to get the data from the vehicles. Overwhelm the system and Ford would likely to become a pay-for-use system, Use it responsibly.
Thanks!
Le mer. 3 août 2022 à 07:56, Brian Alexander @.***> a écrit :
Hi Ian, Well spotted! For no reason my account is disabled (error CSIAH0320E in FordPass). Could be because of my script tracking my car position every 5mn. I’m going to contact Ford. Anyway,
Yes that would be the reason why your account got disabled. Ford may re-enable it this time, but they might not next time. I've said this before https://github.com/ianjwhite99/connected-car-python-sdk/discussions/57#discussioncomment-2831591and it sums up our responsibility to not over use Ford's API system.
I dont think sending refresh_status commands every 5 minutes is a good idea. You would quickly use up alot of the Ford API servers time, that in return, would get attention of the server admin. And they will do something to make it stop or to limit the requests, etc so that things get back to normal. Remember what we are doing here is not approved by ford. They do not have to allow us anything. They have changed things in the past I do believe to stop unauthorized apps/people from accessing the APIs. Ford has been kind and offers this as a courtesy. It costs them money to use AT&T's network to get the data from the vehicles. Overwhelm the system and Ford would likely to become a pay-for-use system, Use it responsibly.
— Reply to this email directly, view it on GitHub https://github.com/ianjwhite99/connected-car-python-sdk/issues/61#issuecomment-1203515964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXGNPROUA2FHNW3YKHIVSQ3VXICYXANCNFSM55FD44XQ . You are receiving this because you were mentioned.Message ID: @.***>
Describe the bug get_user_access_token fails with error: Exception: Unable to login, missing location redirect (European car!)
To Reproduce
Expected behavior Authentication and token were working OK prior to July 19th 2022. Last successful access on July 19th 2022 at 09:24AM
Desktop (please complete the following information):
Any idea?
Pascal