Solution:
If this is shown every time you are trying to update the code on your WordPress site (it doesn’t matter which code) then it usually has to do something with a slight cookie corruption in your browser. This used to be a bug in one of the Firefox versions too, not a long ago.
Do try to do the same thing in a different browser or even a different computer.