GRBL - Unsupported or invalid g-code command found in block

Your problem is probably with M4
Another M4 error with DLC32 V2.1.003 - LightBurn Hardware Compatibility / GRBL - LightBurn Software Forum