# Max\_z\_velocity config error

**URL:** <https://klipper.discourse.group/t/max-z-velocity-config-error/12131>\
**Category:** General Discussion\
**Created:** [December 7, 2023, 2:14pm UTC](https://klipper.discourse.group/t/max-z-velocity-config-error/12131 "2023-12-07T14:14:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![batteau62](https://avatars.discourse-cdn.com/v4/letter/b/58f4c7/32.png) [@batteau62](https://klipper.discourse.group/u/batteau62)\
**Post date:** [December 7, 2023, 2:14pm UTC](https://klipper.discourse.group/t/max-z-velocity-config-error/12131/1 "2023-12-07T14:14:26Z")

</div>

### Basic Information:Klipper error ‘max\_z\_velocity is not valid in section [printer]’ What could be causing this config error?

Printer Model: RatRig 400  
 MCU / Printerboard:Octopus v1.1  
 `klippy.log` unavailable

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_** (use zip to compress it, if too big). _Pasting your_ `printer.cfg` _is **not** needed_  
_ **Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there** _

### Describe your issue:

…Klipper error ‘max\_z\_velocity is not valid in section [printer]’ What could be causing this config error? I’m sorry I don’t have the klippy log. The printer is at Uconn University. I am at home. All the template/example configs show this parameter in that heading? I will post the klippy log tomorrow when I am onsite with the printer. Any advance help is much appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [December 7, 2023, 3:12pm UTC](https://klipper.discourse.group/t/max-z-velocity-config-error/12131/2 "2023-12-07T15:12:34Z")

</div>

Sorry, without klippy.log no answer is possible. In this case, it also makes sense to attach your cfg files.

---

<div class="post-metadata">

**Author:** ![batteau62](https://avatars.discourse-cdn.com/v4/letter/b/58f4c7/32.png) [@batteau62](https://klipper.discourse.group/u/batteau62)\
**Post date:** [December 12, 2023, 3:27pm UTC](https://klipper.discourse.group/t/max-z-velocity-config-error/12131/3 "2023-12-12T15:27:24Z")

</div>

Here are the config and klippy file. This is a paste extrusion printer. That is why the heat settings are unique. Thanks  
[klippy (1).log](https://klipper.discourse.group/uploads/short-url/jtt8zpR5cdZGF0OiJGvXlzvccPh.log) (2.9 MB)  
[config-20231212-101858.zip](https://klipper.discourse.group/uploads/short-url/gYOB830W1dfa9akhr1L8c0DB0CF.zip) (4.4 KB)

---

<div class="post-metadata">

**Author:** ![batteau62](https://avatars.discourse-cdn.com/v4/letter/b/58f4c7/32.png) [@batteau62](https://klipper.discourse.group/u/batteau62)\
**Post date:** [December 12, 2023, 3:42pm UTC](https://klipper.discourse.group/t/max-z-velocity-config-error/12131/4 "2023-12-12T15:42:48Z")

</div>

Here are the config and klippy file. This is a paste extrusion printer. That is why the heat settings are unique. Thanks  
[klippy (1).log](https://klipper.discourse.group/uploads/short-url/jtt8zpR5cdZGF0OiJGvXlzvccPh.log) (2.9 MB)  
[config-20231212-101858.zip](https://klipper.discourse.group/uploads/short-url/gYOB830W1dfa9akhr1L8c0DB0CF.zip) (4.4 KB)

---

<div class="post-metadata">

**Author:** ![theophile](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/theophile/32/31_2.png) [@theophile](https://klipper.discourse.group/u/theophile)\
**Post date:** [December 12, 2023, 4:34pm UTC](https://klipper.discourse.group/t/max-z-velocity-config-error/12131/5 "2023-12-12T16:34:54Z")

</div>

Your main printer config includes 22 additional config files. It looks like one of them may be causing the problem. It looks like you also have some nonstandard modules installed and the config parser is detecting manual modifications to the config file after the auto save header that says not to change anything below this line. That may be due to the copious amount of hash comments in the main config file.

In other words, this is an entirely custom config file on a non-stock version of Klipper so it may be difficult to troubleshoot.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [December 12, 2023, 4:53pm UTC](https://klipper.discourse.group/t/max-z-velocity-config-error/12131/6 "2023-12-12T16:53:44Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/2X/6/6de586898ac056f59ab5567aab606eef6dde8318.png)

According to your log (which luckily summarizes these 22 additional files), you have entered a `max_z_velocity` and `max_z_accel` setting in the stepper blocks.

This is not a valid setting for these blocks but they belong to the `[printer]` config. Review your config files and correct accordingly.

Personal opinion:  
The RatRig approach of dividing settings into individual configuration files is cleverly designed from an engineering perspective and deserves appreciation.  
However, from a user’s perspective, attempting to modify the printer or identify errors can be a nightmare.

---

<div class="post-metadata">

**Author:** ![batteau62](https://avatars.discourse-cdn.com/v4/letter/b/58f4c7/32.png) [@batteau62](https://klipper.discourse.group/u/batteau62)\
**Post date:** [December 12, 2023, 5:38pm UTC](https://klipper.discourse.group/t/max-z-velocity-config-error/12131/7 "2023-12-12T17:38:06Z")

</div>

Totally agree with your personal opinion! If I wasn’t so far down the rabbit hole with this project; I would cut bait and start over. Having said that, I was able to get Klipper up and running. Now it’s just a matter of system checks. Thanks for the help.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [December 12, 2023, 9:41pm UTC](https://klipper.discourse.group/t/max-z-velocity-config-error/12131/8 "2023-12-12T21:41:48Z")

</div>

> [@batteau62](#):
>
> I would cut bait and start over.

If you choose to do so, then “solving” this mess is easy: The klippy.log contains the entire printer configuration as collected from all the included cfgs.  
Copy it and paste it into the `printer.cfg` and you have the entire configuration in one place.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [February 10, 2024, 9:42pm UTC](https://klipper.discourse.group/t/max-z-velocity-config-error/12131/9 "2024-02-10T21:42:46Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
