500 Error - Server Got itself in trouble - Life360

You can select Settings, then Integrations and select the Life360 integration and select the 3 dots next to the word Configure and select Delete. Then, re add it using your login and password. This worked for me.

I have a theory ---- could it be related to passwords that contain a special character that need to be escaped ?

I tried deleting and re-adding the integration, but now i get an error of

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

could be a red herring, but my password contains a single !

I don’t believe that has anything to do with it. There is a bug in the life360 integration’s “config flow”, such that reconfiguration doesn’t work. I’m going to try looking into that and see if I can fix it. In the meantime, it seems, when your system gets into this state (i.e., it tries to force you to reconfigure, but that fails due to the bug), a workaround is to change your Life360 password.

It did help. Thanks so much.

For an update, please see: Life360 Device Tracker Platform - #1697 by pnbruckner

It no longer presents the 500 error, it now presents invalid authentication when you click on reconfigure. Entities continue to appear normally and report status.

Captura de tela 2023-09-06 180919

Logger: homeassistant.config_entries
Source: config_entries.py:1248
First occurred: 18:06:14 (1 occurrences)
Last logged: 18:06:14

Config entry ‘Leandro’ for life360 integration could not authenticate: client is not valid/enabled

I changed my password and that’s it! It worked!

Yes, when this happens, that appears to fix it. Not sure why, though.