Check the compressor outlet for thermistor wiring when you unplug the dryer. Attach the loose wires. If the wire harness is damaged, you need to replace it. Check the compressor outlet thermistor's resistance. At room temperature it should measure about 10,000 ohms. You should replace the thermistor if it's malfunctioning. The compressor outlet thermistor and wiring need to be replaced.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.