031794 is a fault stored in your BMW's memory (an ISTA fault code, not a standard OBD-II P-code).
What it means: Head unit (HU-H / HU_MGU): phone call function restricted (SIF service information entry "Telephoning"). Stored when Bluetooth/CarPlay briefly hangs or a call through the car fails. Not critical and not a vehicle fault; usually does not return after the fault memory is cleared.