I have Magento 2.2.4.
I have tried increasing
I have cleared
var/cache, browser cache, removed domain cookies.
Still, get the error when trying to edit an existing product. But, I can create new products without any issue.
Error: Invalid Form Key. Please refresh the page.
sudo service apache2 restartthis or not?