Mini cooper 2007 engine and service light codes on 2007 Mini Cooper S

My mini cooper 2007 shows engine light and cc-id 31, the service light is on with similar message cc-id 071. Does anyone have any idea what could cause this? Both came up after I had breaks, rotors and sensors changed.

Asked by for the 2007 Mini Cooper S