Wiring a ceiling pendant UK wiring
One of the brown wires was acting as a neutral, I switched one of the wires into the neutral spot and the light switch is working fine now.

If anyone knows why there is 3 brown wires please let me know. (old wiring?)