How to do if Mi Robot Vacuum appears error 4?

Solution:
  1. This error may occur on some dark carpets. Please fold up the carpet or use magnetic stripe virtual wall to block it.
  2. The bottom cliff sensor is too dirty or shielded by foreign matter, which will also cause the error. Please wipe and clean it with dry cloth.