cancel
Showing results for 
Search instead for 
Did you mean: 

error msg 'Invalid security or form key. Please refresh the page'- Magento 2.4.2-p2

error msg 'Invalid security or form key. Please refresh the page'- Magento 2.4.2-p2

2 REPLIES 2

Re: error msg 'Invalid security or form key. Please refresh the page'- Magento 2.4.2-p2

Hello @napawanjac68c2 

 

This is the default message that came from the Magento system. When the admin session time is over. there is no bug related to this message.

 

If you get the solution then please, "Kudos" and "Accept as Solution" for Token of Appreciation

Re: error msg 'Invalid security or form key. Please refresh the page'- Magento 2.4.2-p2

run this command 

php bin/magento config:set system/security/max_session_size_admin 0