Unable to start onboard mag calibration

I’m unable to start an “Onboard Mag Calibration” while being outdoors. The percentange remains fixed at 0%. However, when I previously tried the procedure indoors, everything worked as expected, the green bar was progressing as I was rotating the aircraft. Someone could help me to understand this behaviour? It seems like whenever I have GPS lock, I’m unable to do the “Onboard Mag Calibration”. I’ve also tried the “Large Vehicle MagCal” and no errors, but I’d like to perform the other one.