There's a unit at the back of the engine that is for the brake booster. My friends one had snapped wires to the plug due to a vibration caused by a broken engine mount. Nox sensor probably needs replacement. Looking around £300 odd. Common fault
If you have tools and ability.