I also get this message from time to time in my logs, but with no other symptom (Unifi integration seems to be working fine, camera streams behaving as well as can be expected).
Logger: homeassistant.components.http.ban
Source: components/http/ban.py:138
integration: HTTP (documentation, issues)
First occurred: 9:58:55 AM (1 occurrences)
Last logged: 9:58:55 AM
Login attempt or request with invalid authentication from unifi.localdomain (192.168.1.1). Requested URL: '/auth/token'. (HomeAssistant-Extensions-NotificationService/2024.1 (io.robbie.HomeAssistant.APNSAttachmentService; build:2024.535; iOS 17.3.0) Alamofire/5.6.4)
It says a plain text which OS the failed login comes from, you can’t have that many Devices at home
/auth/token , You could clear ALL in your Browsers caches(on all your devices), And delete OLD ACCESS Tokens, in You HA, Go to Profile / Security,
You are correct, this was an iPad that had been powered down for a couple months (hence out-of-date iOS). I saw “unifi” in the log and assumed this had something to do with the Unifi integration, and was mistaken.