Posting in case someone else searches this error..
I had this error pop up on my car mid week, cornering lights and headlight assist stopped working as a result - all google searches pointed to the static cornering lights, both mine were fine - i'd checked them when the error occurred, so i scanned the car with VCDS..
I went into my local VW parts department to order one and their system was saying my car had no front ride height sensor on any side and only a rear ride height sensor - myself and the parts guy a friend of mine were baffled by this. I contacted my Mechanic and he checked his system, he came back with a part number and i ran it by my friend in VW, it came up as a ride height sensor for A3/S3, so i told him to order it.
Now i've replaced at least one ride height sensor on every VAG car i've owned - but they've always found them physically broken when i went to change them , this is what greeted me when i jacked the car up....
A perfectly intact ride height sensor (one the VW ETKA said my car didn't have ) So i unplugged it - cleaned the connection with contact cleaner - put the wheel back on and dropped the car - scanned it again and still showing as failed. Only one thing for it install the new sensor - fit wheel and drop car - scanned all clear happy days! For the record my car had 2 ride height sensors at the front and one at the back.
The part number on the old sensor just to confirm i had the right part..
I noticed when i while driving after fitting that my dipped beam was aiming very high and that when i had headlight assist on it was a bit out with the area of road it was blacking out to not dazzle oncoming cars and i got flashed by quite a few of them. I read the values from the 3 sensors on the car and sure enough the one i'd replaced was out of sync with the rest - i don't know what that's about, however i did a basic settings adaption on the headlights and then acknowledged the basic settings adaption and the headlight assist seems to be working ok now, will have to see how it goes over the coming nights.
Hopefully this helps someone down the line.