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
438 stars 88 forks source link

Unexpected error fetching kia_uvo data: Server returned: 'Invalid request body - Invalid parameter. #662

Closed henkie86 closed 1 year ago

henkie86 commented 1 year ago

Please check Services, Known Bug / Issues and Troubleshooting over here first: https://github.com/fuatakgun/kia_uvo/blob/master/README.md Region and Brand of car

Version of the integration

Describe the bug A clear and concise description of what the bug is.

Debug logs if an error occurred

Outlined here: https://github.com/fuatakgun/kia_uvo/blob/master/README.md

To Reproduce

Expected behavior

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

MrNeeds commented 1 year ago

Same error here in the UK/EU

rindlerblabla commented 1 year ago

Duplicate of #661.

nappyshock commented 1 year ago

Same here in UK...... hope this helps:

Home Assistant 2023.6.3 Supervisor 2023.06.4 Operating System 10.3 Frontend 20230608.0 - latest

This error originated from a custom integration.

Logger: custom_components.kia_uvo.config_flow Source: custom_components/kia_uvo/config_flow.py:63 Integration: Kia Uvo / Hyundai Bluelink (documentation, issues) First occurred: 20:12:32 (1 occurrences) Last logged: 20:12:32

Unexpected exception Traceback (most recent call last): File "/config/custom_components/kia_uvo/config_flow.py", line 159, in async_step_user await validate_input(self.hass, user_input) File "/config/custom_components/kia_uvo/config_flow.py", line 63, in validate_input token: Token = await hass.async_add_executor_job( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 198, in login device_id = self._get_device_id(stamp) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 1104, in _get_device_id _check_response_for_errors(response) File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/KiaUvoApiEU.py", line 110, in _check_response_for_errors raise APIError(f"Server returned: '{response['resMsg']}'") hyundai_kia_connect_api.exceptions.APIError: Server returned: 'Invalid request body - Invalid parameter.'

cdnninja commented 1 year ago

This is duplicate so closing.