The answer to my question about the cables was that they had, of course, been checked, and furthermore, a different error message would appear (short circuit after -).
aaah yes
Well... exposed wires can sometimes cause a short circuit with each other.
The LMM is supplied with +12V and +5V for power and as a reference voltage.
If they are short-circuited to ground, you will get exactly that error message.
I'd like to focus on the cable entries and also check the engine control unit connector.
The following values should be measurable at the connector of the mass airflow sensor:
pin 2 = 12V
Pin 3 = Ground.
Pin 4 = 5V.
Pin 5 = approximately 0V (absolutely no more than 5V).
Pin 5 is connected to the output of the mass airflow sensor (MAF). When the MAF is connected, you should see 1V on this pin (with no airflow).
CU Gremlin.