You entered an invalid Secret Key. Please refresh the page in magento 2

When you create a new module or override a core module in admin side, 
there is a chance's to get this error message .when you reload the page.
You entered an invalid Secret Key. Please refresh the page.
In case if you get the error message like this then check & verify your routes.xml file.
This issue is one of the possible if you use wrong frontname in your request.
Verify your routes.xml & use same frontname to your controller action URL

“Drinking Injurious to HEALTH and Your Family”

Leave a Reply