UAVCAN Magnetometer calibration error

I have a HMC5883/QMC5883 mag connected to CAN port via STM32F103 Bluepill. Compass is detected and calibration tab indicates the start and stop of calibration. But I’m not able to successfully complete the calibration. I get calibration failed messages all the time.