Have you tried logging out and logging in again? Or better: Deleting all cookies in your browser (related to your Matomo domain) and then logging in again.
There might be some unrelated issue that error messages don’t disappear once they no longer apply.