Klipper · Configuration
Klipper: Unknown command:"…"
Most often: start code from a Marlin profile. First step: replace Marlin codes with Klipper commands (M900 → SET_PRESSURE_ADVANCE, G29 → BED_MESH_CALIBRATE).
On this page
KLIPPERUnknown command:"…"Configuration
What it means
The G-code contains a command Klipper does not know: often a Marlin code without a Klipper equivalent (M900, M205, G29) or a macro that is not defined.
Common causes
- Start code from a Marlin profile
- Macro called in the slicer (PRINT_START) but not defined in printer.cfg
- Command needs a config section that is missing
How to clear it
- Replace Marlin codes with Klipper commands (M900 → SET_PRESSURE_ADVANCE, G29 → BED_MESH_CALIBRATE)
- Define the macro or fix its name
- Add the needed section, e.g. [firmware_retraction] for G10
Example
G29\nM900 K0.05BED_MESH_CALIBRATE
SET_PRESSURE_ADVANCE ADVANCE=0.05Before you continue: Save a copy of printer.cfg before you change it, and change one thing at a time.
Tools that help
Related codes
- G29 — Bed levelling (probe the mesh)
- M900 — Linear advance factor
- PRINT_START — Start macro (convention)
Same group: configuration
Messages of Marlin 2.1 and current Klipper. The exact wording can differ a little between versions and printer brands that change the firmware. Marlin and Klipper are open-source projects; this site is independent.
The error comes back?
Post your printer, firmware version, the full message and the start code.
Ask the communityFrequently asked questions
What does Klipper "Unknown command:"…"" mean?
The G-code contains a command Klipper does not know: often a Marlin code without a Klipper equivalent (M900, M205, G29) or a macro that is not defined.
How do I fix Klipper "Unknown command:"…""?
Replace Marlin codes with Klipper commands (M900 → SET_PRESSURE_ADVANCE, G29 → BED_MESH_CALIBRATE). Define the macro or fix its name. Add the needed section, e.g. [firmware_retraction] for G10.
Was this page helpful?