Error message at dashboard

I can be able to login to my store admin easily and everything is working fine. After when I logged in I got an error "Invalid security or form key. Please refresh the page. " at the dashboard. It is just for the first time issue. When I refresh the page everything works fine. Whenever I login to my store admin I got this issue. The occurrence of the issue is when I upgrade my magento from 2.4.2 to 2.4.3.
Please help me out with it. Thanks!

3 Answers 3


I'm having the exact same issue after upgrading from 2.3.6 to 2.4.3 on initial login to admin area. Clears when I refresh the page.


You need to make changes described here to ger rid of this message: https://github.com/magento/magento2/issues/33749#issuecomment-908145941

The file in mention is found here: \vendor\magento\module-backend\App\Action\Plugin\Authentication.php


achievable solver? I have the same problem, but on the product catalog page


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.