Just did a similar installation with similar error.
Problem was caused by lack of a single phase neutral on the inverter output side.
All the necessary circuit breakers, fuses etc is in place but I am simplifying the explanation.
3 phase Eskom input with neutral via a selector switch that can feed inverter or bypass and supply output directly.
On the bypass(ed) output side the 3 phase was connected to a breaker for a 3 phase pump as well as a bridge from 1 phase to supply single phase Earth Leakage breaker.
Neutral for Earth Leakage is provided with the Eskom supplied neutral.
On the inverter supplied output side the 3 phase is connected to the 3 phase pump breaker with single phase bridge to Earth Leakage (with the Eskom neutral)
This resulted in an W03 grid phase wrong alarm.
The solution was to connect the inverter output neutral to the Earth Leakage.