Home Assistant Cloud API Problem

Hi,

I do have trouble with my HA 9.2 on my Pi4. Everything is running fine apart from my Home Assistent Cloud Configuration. “Google” didnt help at all.

Always when I’m going to create a Nabu Casa Account for money the message “Unexpected error:” pops up. See please attachment too.
error_ha

Info: I do also habe Duckdns in place with an Trusted SSL Certificate.

Thanks a lot!

My Log shows some error with the Cloud API:

Logger: homeassistant.components.cloud.http_api
Source: components/cloud/http_api.py:236
Integration: Home Assistant Cloud (documentation, issues)
First occurred: 11:47:03 AM (1 occurrences)
Last logged: 11:47:03 AM

Unexpected error processing request for /api/cloud/register

Traceback (most recent call last): File “/usr/local/lib/python3.10/site-packages/hass_nabucasa/auth.py”, line 109, in async_register await self.cloud.run_executor( File “/usr/local/lib/python3.10/concurrent/futures/thread.py”, line 58, in run result = self.fn(*self.args, **self.kwargs) File “/usr/local/lib/python3.10/site-packages/pycognito/init.py”, line 377, in register response = self.client.sign_up(**params) File “/usr/local/lib/python3.10/site-packages/botocore/client.py”, line 391, in _api_call return self._make_api_call(operation_name, kwargs) File “/usr/local/lib/python3.10/site-packages/botocore/client.py”, line 691, in _make_api_call request_dict = self._convert_to_request_dict( File “/usr/local/lib/python3.10/site-packages/botocore/client.py”, line 739, in _convert_to_request_dict request_dict = self._serializer.serialize_to_request( File “/usr/local/lib/python3.10/site-packages/botocore/validate.py”, line 360, in serialize_to_request raise ParamValidationError(report=report.generate_report()) botocore.exceptions.ParamValidationError: Parameter validation failed: Invalid type for parameter ClientMetadata.NC_REGION_CODE, value: None, type: <class ‘NoneType’>, valid types: <class ‘str’> Invalid type for parameter ClientMetadata.NC_ZIP_CODE, value: None, type: <class ‘NoneType’>, valid types: <class ‘str’> The above exception was the direct cause of the following exception: Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/cloud/http_api.py”, line 107, in error_handler result = await handler(view, request, *args, **kwargs) File “/usr/src/homeassistant/homeassistant/components/http/data_validator.py”, line 73, in wrapper result = await method(view, request, data, *args, **kwargs) File “/usr/src/homeassistant/homeassistant/components/cloud/http_api.py”, line 236, in post await cloud.auth.async_register( File “/usr/local/lib/python3.10/site-packages/hass_nabucasa/auth.py”, line 121, in async_register raise UnknownError() from err hass_nabucasa.auth.UnknownError

1 Like

Same problem, can’t use the home assistant cloud because or this.

Same here, seems we don’t have a zip code (I am in Australia). I just created an account by going direct to nabu casa at https://account.nabucasa.com/ Create your account, and then you can just log into it via home assistant :slight_smile: