Status error on succesful prints

Hi just a quick question. why do I get “error” as Status Code even though the print came out as expected?

It might be e.g. something in “end G-code” in slicer which causes the error.

Without any logs showing the actual error, it will be impossible to diagnose.

does the klippy.log gets deleted after every print because mine is empty.

1 Like

Typically the logs are rotated. Older logs then look like klippy.log.YYYY-MM-DD
If you do not have a current log and the issue is reproducible then just post when it happens again.

The file is 20MB and. the last entries are this

Stats 986811.5: gcodein=0 mcu: mcu_awake=0.007 mcu_task_avg=0.000039 mcu_task_stddev=0.000083 bytes_write=52252122 bytes_read=7319437 bytes_retransmit=9 bytes_invalid=0 send_seq=928084 receive_seq=928083 retransmit_seq=2 srtt=0.003 rttvar=0.000 rto=0.025 ready_bytes=33 stalled_bytes=0 freq=72001551 heater_bed: target=60 temp=60.0 pwm=0.190 sd_pos=5471689 sysload=0.02 cputime=1703.837 memavail=667788 print_time=24500.176 buffer_time=3.020 print_stall=0 extruder: target=205 temp=205.1 pwm=0.477
Stats 986812.5: gcodein=0 mcu: mcu_awake=0.007 mcu_task_avg=0.000039 mcu_task_stddev=0.000083 bytes_write=52252253 bytes_read=7319585 bytes_retransmit=9 bytes_invalid=0 send_seq=928091 receive_seq=928090 retransmit_seq=2 srtt=0.003 rttvar=0.000 rto=0.025 ready_bytes=9 stalled_bytes=0 freq=72001550 heater_bed: target=60 temp=60.0 pwm=0.267 sd_pos=5471689 sysload=0.02 cputime=1703.882 memavail=667780 print_time=24500.176 buffer_time=2.018 print_stall=0 extruder: target=205 temp=205.0 pwm=0.519
Stats 986813.5: gcodein=0 mcu: mcu_awake=0.007 mcu_task_avg=0.000039 mcu_task_stddev=0.000083 bytes_write=52252864 bytes_read=7319767 bytes_retransmit=9 bytes_invalid=0 send_seq=928105 receive_seq=928104 retransmit_seq=2 srtt=0.003 rttvar=0.000 rto=0.025 ready_bytes=14 stalled_bytes=0 freq=72001548 heater_bed: target=60 temp=60.0 pwm=0.267 sd_pos=5471745 sysload=0.02 cputime=1703.935 memavail=667788 print_time=24501.627 buffer_time=2.465 print_stall=0 extruder: target=205 temp=205.0 pwm=0.519
Stats 986814.5: gcodein=0 mcu: mcu_awake=0.008 mcu_task_avg=0.000042 mcu_task_stddev=0.000074 bytes_write=52253531 bytes_read=7319960 bytes_retransmit=9 bytes_invalid=0 send_seq=928121 receive_seq=928120 retransmit_seq=2 srtt=0.003 rttvar=0.000 rto=0.025 ready_bytes=9 stalled_bytes=0 freq=72001549 heater_bed: target=60 temp=60.0 pwm=0.326 sd_pos=5471865 sysload=0.02 cputime=1703.992 memavail=667780 print_time=24503.089 buffer_time=2.924 print_stall=0 extruder: target=205 temp=204.9 pwm=0.519

What should I look for in this file? I searched for “error” with 0 hits

Please post / upload the log so that experts here can check. According to your description the prints came out fine, so the problem might not be obvious on first glance.

It’s to big for here and pastebin to upload so thatswhy here’s a link to mega.

From the log it looks like @Kmarty is spot on. Your prints end with:

Must home axis first: 225.000 200.000 9.979 [16571.216]
Exiting SD card print (position 11004983)

Do you turn off your motors (M18 or M84) in your end G-code and then try to move?

Ehm yeah - At least it worked in Marlin - removed it from End G-code. will report after the print.

Edit: It was the End-Gcode. Thanks.