Cannot restart HA

Hello all,

unfortunately I have a small problem and can not cope with the error analysis :confused:
I can not restart since today, it always gives me the error “argument of type ‘NoneType’ is not iterable”.
is thrown out.
Attached is an excerpt from the log, maybe you can figure it out.

BTW: Does anyone know how I can check the lines specified in the error message? or where they are?

Thanks a lot!

2022-07-21 12:51:42 ERROR (MainThread) [aiohttp.server] Error handling request

Traceback (most recent call last):

File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request

resp = await request_handler(request)

File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle

resp = await handler(request)

File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl

return await handler(request)

File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware

return await handler(request)

File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 222, in forwarded_middleware

return await handler(request)

File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware

return await handler(request)

File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware

return await handler(request)

File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle

result = await result

File "/usr/src/homeassistant/homeassistant/components/config/core.py", line 30, in post

errors = await async_check_ha_config_file(request.app["hass"])

File "/usr/src/homeassistant/homeassistant/config.py", line 928, in async_check_ha_config_file

res = await check_config.async_check_ha_config_file(hass)

File "/usr/src/homeassistant/homeassistant/helpers/check_config.py", line 233, in async_check_ha_config_file

p_validated = platform_schema(p_validated)

File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 232, in __call__

return self._exec((Schema(val) for val in self.validators), v)

File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 351, in _exec

v = func(v)

File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__

return self._compiled([], data)

File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable

return schema(data)

File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__

return self._compiled([], data)

File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict

return base_validate(path, iteritems(data), out)

File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 387, in validate_mapping

cval = cvalue(key_path, value)

File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable

return schema(data)

File "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 541, in verify

return cast(dict, schema(value))

File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__

return self._compiled([], data)

File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict

return base_validate(path, iteritems(data), out)

File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 387, in validate_mapping

cval = cvalue(key_path, value)

File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 229, in _run

return self._exec(self._compiled, value, path)

File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 353, in _exec

v = func(path, v)

File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable

return schema(data)

File "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 813, in validator

if key in config:

TypeError: argument of type 'NoneType' is not iterable

You might want to obfuscate your URL - not everyone on the internet is nice :slight_smile:

Thanks for the hint:) I didn’t see them down there now. It’s erased.

But I have solved the problem now, but it is still unclear to me what exactly the problem was:/