Hello, after trying to search and unfortunately not quite understanding the context, here's the process:
The preheating spiral on the Sharan AHU is illuminated, and I'm reading a single error code: 16955, which indicates a problem with the brake light switch.
After the error was cleared, the problem reappeared: the brake lights are not working.
"Bought a switch, now I'm getting two error codes: 16955 and 17978. The motor is locked!"
Heart slipped into pocket '

'
After installation: all errors cleared!
Started with the brake pedal pressed - stalled. Restarted without the brake pedal - it runs.
Engine control unit fault... it's back again.
Errors fixed and clean.
I haven't done anything else related to the immobilizer or the key.
I know that the switch also cuts off power during braking, and that it has two opposing switches. But I'm wondering why the main control unit is being blocked.
If it's supposed to be normal, why weren't both errors present at the same time?
Please explain to me why.
Thank you in advance.