Hello and welcome. I don't have a boot brake light on mine but have you checked the contacts in the rim of the boot, they are 4 metal rectangles boxed together. If they are too dirty then the contact buttons in the boot lid won't be able to make contact properly and the power won't flow.
If that...