410 for invalidateCache call even though it doesn't exist - on Edge only

I have run into an issue with all 3 of the apps that I work on, in which periodically users on Edge will randomly have query failures and a 410 for invalidateCache will pop up, even though it doesn’t exist in the code base. I have searched for any ‘clear cache’ events or calling it directly .invalidateCache()

I saw the error was regarding a cookie, so I tried to create a function that would listen for that cookie expiring, but this didn’t lead me anywhere. Maybe this is the solution but I don’t know the correct way to implement it?

I do know that a solution for the user seems to be logging out and back in (wordpress) causes this to fix itself, but I have no way to tell the user that because I have seemingly no way to programmically listen for this.

here is a screenshot of the failed call. This seems to happen at random, casually navigating the site or performing actions.