Hyundai-Kia-Connect / kia_uvo

A Home Assistant HACS integration that supports Kia Connect(Uvo) and Hyundai Bluelink. The integration supports the EU, Canada and the USA.
MIT License
398 stars 84 forks source link

"Failed setup, will retry" when adding my account. #770

Closed paul43210 closed 7 months ago

paul43210 commented 7 months ago

Region and Brand of car Canada, Hyundai

Version of the integration 2.16.3

Describe the bug Unable to setup within Home Assistant, provides the error "Failed setup, will retry" image

Debug logs if an error occurred image

To Reproduce Add a new hub to the system, including the login credentials, password and pin.

Expected behavior I expect it would find my Ioniq and add some entries. image

Additional context Added context here as well: https://community.home-assistant.io/t/hyundai-bluelink-integration/319129/163?u=paul43210

cdnninja commented 7 months ago

Enable debug logs as per the readme and let us know what the api is responding with

paul43210 commented 7 months ago

Here are the debug logs: but your request could not be processed. Please try again. If the issue persists, contact Customer Support in the "Help" section.'}, 'responseHeader': {'responseCode': 1}} 2023-12-12 18:06:57.346 DEBUG (SyncWorker_0) [hyundai_kia_connect_api.KiaUvoApiCA] hyundai_kia_connect_api - get_cached_vehicle_status response {'error': {'errorCode': '7101', 'errorDesc': 'We apologize, but your request could not be processed. Please try again. If the issue persists, contact Customer Support in the "Help" section.'}, 'responseHeader': {'responseCode': 1}} 2023-12-12 18:06:57.347 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 1.353 seconds (success: Fals

EDIT: removed since it has tokens

cdnninja commented 7 months ago

The api is failing to give any data. Does your native app show data like door status?

paul43210 commented 7 months ago

Well, the native app doesn't work on my "old Samsung S9" phone, but online it works just fine.

On Tue, Dec 12, 2023, 6:23 PM cdnninja @.***> wrote:

The api is failing to give any data. Does your native app show data like door status?

— Reply to this email directly, view it on GitHub https://github.com/Hyundai-Kia-Connect/kia_uvo/issues/770#issuecomment-1852986792, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPUZWJISYZVFFWXTU64URTYJDRNLAVCNFSM6AAAAABAQTT2JWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJSHE4DMNZZGI . You are receiving this because you authored the thread.Message ID: @.***>

paul43210 commented 7 months ago

Well, the native app doesn't work on my "old Samsung S9" phone, but online it works just fine. On Tue, Dec 12, 2023, 6:23 PM cdnninja @.> wrote: The api is failing to give any data. Does your native app show data like door status? — Reply to this email directly, view it on GitHub <#770 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPUZWJISYZVFFWXTU64URTYJDRNLAVCNFSM6AAAAABAQTT2JWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJSHE4DMNZZGI . You are receiving this because you authored the thread.Message ID: @.>

image
cdnninja commented 7 months ago

Odd. I'm wondering if APIs changed. You will need to sniff the traffic for Canada that's easy by going into developer menu in a browser and watching the calls. I suspect our get cached vehicle call doesnt match yours. I would assume others will come with this issue soon.

paul43210 commented 7 months ago

I transferred my car to another account and its working now!

cdnninja commented 7 months ago

Well that is odd! I have no explanation.

paul43210 commented 7 months ago

Well that is odd! I have no explanation.

Thank you for your help