Honestly, I’m not sure at this point.
I have two systems running this code: my “production” system and a test system. The production system seems to be running along smoothly. But I’m seeing the same problems on my test system. And they are BOTH using the SAME authorization string. (The test system is also using a second account w/ username & password.)
I think I found a couple of possibly related issues with the b1 code, but “fixing” them doesn’t seem to have completely solved the problem.
WAIT: UPDATE:
So, last night I was getting the “login” error (actually 403 Forbidden) when trying to retrieve the list of Circles & Members. This is retried every 15 minutes. It ran all night that way until I disabled the integration this morning.
Now when I re-enabled it (about 1.5 hours after disabling it), I got one “too many queries”, which was retried after a couple of minutes, and IT WORKED!!
So, seems like Life360 just sometimes likes to be difficult.
EDIT:
The “good” news is that, once the list of Circles & Members is retrieved, the normal Member update requests seem to work fine, although I have to say, I have seen a couple of “login” errors lately. I may end up having to retry those, too.
BTW, one of the “fixes” I mentioned above involves the use of a separate query that I was using only in the config flow, specifically the “me” query. I was using that as sort of a test to make sure the authorization entered (either username/password or authorization string) worked, but it, just like the request for Circles, seems to sometimes cause login errors, so I simply deleted it (since I had never used it before.)