Error when sending a message

Has anyone encountered this error when sending a message on chat in modern Paper versions?
Failed to update secure chat state for Biquaternions: 'Chat disabled due to missing profile public key. Please try reconnecting.'

It doesn't happen with vanilla clients, I sometimes have this problem as I use No chat reports Fabric mod, however, other people don't directly use that mod also sometimes encounter that issue.
It doesn't matter much as I don't like chat reporting so I disable enable-secure-profile in production, but I was wondering if this could be indicating that I'm messing up something while using AsyncChatEvent in a custom plugin.
I tried with a chat plugin that also uses AsyncChatEvent and didn't have this issue at the beginning, only started having it after changing to mine, and then changing back to that one.

I got a bit tired of experimenting all this by myself for a couple of hours now, probably someone here already has the answer
Was this page helpful?