On LG mini-split systems, code 40 means the thermistor tied to the outdoor current-transformer sensor is disconnected or shorted. The manual sends the owner to LG support if a power cycle does not clear it.
What it means
Current sensor thermistor open or shorted
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 its current-transformer thermistor is disconnected or shorted.
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.