On LG mini-split systems, code 31 reports a too-low reading from the thermistor associated with the outdoor current transformer. The manual points to LG support if a power cycle does not clear it.
What it means
Current sensor reading too low
LG mini-split (Single Zone Art Cool Mirror installation manual), LA090HSV4, LA120HSV4, LA180HSV4 Major
Regions: United States
What the manual says
The outdoor unit reports that the reading from its current-transformer thermistor is too low.
When to call a technician
The manual says to power the unit down and back up once, to contact LG support if the code returns, and not to attempt a repair yourself.
Source: Single Zone Art Cool Mirror Wall Mounted Installation Manual