Audi A6 Brake Light

I have a 2003 Audi A6. I have a warning message on the dashboard saying "Brake Light". The rear right brake light is not working, but
I checked the bulb and it is fine. So I presume it may be something to do with the wiring or the switch. I would appreciate any ideas to troubleshoot and fix this.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.