500 Error - Server Got itself in trouble - Life360

I can’t remove the integration.
I read a similar post talking about corrupt files in the .storage folder.
However, I would not like to recreate everything that’s in this folder.

Any direction would be appreciated.

Logger: aiohttp.server
Source: components/life360/config_flow.py:140
First occurred: 7:29:45 PM (7 occurrences)
Last logged: 8:20:47 PM

Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py”, line 433, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py”, line 504, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/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 85, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/http/forwarded.py”, line 100, 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/ban.py”, line 80, in ban_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 148, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/config/config_entries.py”, line 172, in get
return await super().get(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py”, line 96, in get
result = await self._flow_mgr.async_configure(flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 297, in async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 393, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/life360/config_flow.py”, line 140, in async_step_reauth_confirm
self._password = user_input[CONF_PASSWORD]
~~~~~~~~~~^^^^^^^^^^^^^^^
TypeError: ‘NoneType’ object is not subscriptable

1 Like

My Life360 integration is doing the same thing / same error. So it isn’t just you.

Same here. It claimed it needed to be Reconfigured to keep functioning, then the same error when I tried.

It is broken on my Hubitat hub too, so I would guess there is an issue on Life360s side…

There is an open issue for this it appears:

Life 360 Integration - Invalid Authentication with correct details · Issue #97470 · home-assistant/core (github.com)

1 Like

Getting the same thing, looks like its them. Guess I will wait and see.

There may be an issue on Life360’s end:

https://support.life360.com/hc/en-us

“If you are having issues logging into your account, this is an issue that we are currently working on. Please try again, later.”

I am getting the same error on my integration when I click on “Reconfigure”:

Error
Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

But the app still works on my phone I can log onto my account on the PC as well.

1 Like

I’m having the same problem, here from Spain, it only fails in my integration with Home Assistant, in the app or computer it works correctly.

Same problem here…

Same issue here.

Same issue here.

A manual fix is out. Looks like the fix will probably be included in the next HA update.

2 Likes

Can someone explain what the fix is I found a repo earlier and now I can’t find the thread again. This stinks.

:man_shrugging:
Idk just found it

I don’t have the life360 integration but did some reading, sounds like life 360 may have made a breaking change to the api endpoint that required a change for HA to work properly. I expect this will be in the next release, for those who can’t wait it looks like some have successfully done this.

Update integration.

Repo link for quick finding for others

Thank you:)

1 Like

Unless you want to wait, the fix is to download the folder on the GitHub link above, unzip it, and move just the Life360 folder to your main home assistant config folder (where your configuration.yaml file is located). Restart home assistant and it will work again.

2 Likes

I already deleted the thing can I make a folder called life360 and then put it in there, restart it, and then proceed to Set up life360 as usual? Or nah?

Yes, just copy the life360 folder (and its contents) to your config folder. Reboot and setup like normal.

1 Like