re stop lamp switch and BAS malfunction on 2001 Mercedes-Benz C240

BAS brake assist error message: mercedes mechanic replaced stop lamp 3 x's. It solves error message for one or 2 days and then I get the message again. has anyone solved a problem like this? Obviously, replacing the stop lamp switch isn't solving it. We clear codes each time. It never used to do that. what else could it be?

Asked by for the 2001 Mercedes-Benz C240
I'm having the same issues.. Has your problem been resolved and if so how ??? thanks