Klipper · Configuration

Klipper: Option '…' is not valid in section '…'

Most often: typing error in the option name. First step: compare the line with the current Klipper config reference.

By cnccode · Updated
On this page
  1. What it means
  2. Common causes
  3. How to clear it
  4. Related codes
  5. Same group: configuration
  6. Frequently asked questions

What it means

printer.cfg has an option Klipper does not know in that section. Klipper does not start until it is fixed.

Common causes

  • Typing error in the option name
  • Option removed or renamed in a Klipper update (for example max_accel_to_decel)
  • Option placed in the wrong section

How to clear it

  1. Compare the line with the current Klipper config reference
  2. After updates read the config changes document of Klipper
  3. Comment the line out with # and restart to test

Before you continue: Save a copy of printer.cfg before you change it, and change one thing at a time.

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 community

Frequently asked questions

What does Klipper "Option '…' is not valid in section '…'" mean?
printer.cfg has an option Klipper does not know in that section. Klipper does not start until it is fixed.
How do I fix Klipper "Option '…' is not valid in section '…'"?
Compare the line with the current Klipper config reference. After updates read the config changes document of Klipper. Comment the line out with # and restart to test.
Was this page helpful?