How to fix Samsung dryer dC error code (after replacing door switch)?

Brand:Samsung
Model Number:DVE50R8500V/A3
Main Symptom:Cycle cuts off
What happens & when: After pressing start the dryer runs for about 10 seconds and then stops. Open the door and get the dC error code. I replaced the door switch and still get the dC code.

Error Code (if any): dC
Parts or tests already tried: Part Number DC64-00828B
Photos / video link:

With the power supply turned off or the power cord disconnected, the wires at the main control connection CNP103 would need to be tested. With the wires disconnected, and the door shut, test from the blue wire to the brown wire for continuity. If there is continuity, the main control has failed. Unfortunately, it looks like the main control has been discontinued if it turn out to have failed. DC97-21429A The Control Board And Cover Assembly | Genuine Samsung OEM In Stock

Do you have a part recommendation for the wiring harness?

Is the door switch wiring harness included with Samsung part #DC93-00820A? If not, can you please tell me the Samsung part number?

The wires to the door switch would be a part of the main harness. https://www.appliancepartspros.com/samsung-assy-wire-harness-dc93-00820a-ap6884380.html