How to fix ‘Oops, the system encountered a problem’ Gmail error

Many of the time when you open your browser and use Gmail account it shows