Error 'step_pin' is not valid in section 'stepper_z1'

Hello all i have a Octopus board with COREXY configuration, this my first time to setup klipper but i have this error that i cant figure out someone can help me ? thx !

image

# This file contains common pin mappings for the BigTreeTech OctoPus V1.
# To use this config, the firmware should be compiled for the STM32F446 with a "32KiB bootloader"
# Enable "extra low-level configuration options" and select the "12MHz crystal" as clock reference

# after running "make", copy the generated "klipper/out/klipper.bin" file to a
# file named "firmware.bin" on an SD card and then restart the OctoPus with that SD card.

# See docs/Config_Reference.md for a description of parameters.

[stepper_x]
step_pin: PF13
dir_pin: PF12
enable_pin: !PF14
microsteps: 16
rotation_distance: 40
endstop_pin: ^PG6
position_endstop: 0
position_max: 220
homing_speed: 50

[stepper_y]
step_pin: PG0
dir_pin: PG1
enable_pin: !PF15
microsteps: 16
rotation_distance: 40
endstop_pin: PG9
position_endstop: 0
position_max: 250
homing_speed: 50

[stepper_z]
step_pin: PF11
dir_pin: PG3
enable_pin: !PG5
microsteps: 16
rotation_distance: 8
endstop_pin: PG10
position_endstop: 0
position_max: 200
homing_speed: 12
#second_homing_speed: 1

[stepper_z1]
step_pin: PG4
dir_pin: PC1
enable_pin: !PA0
microsteps: 16
rotation_distance: 8


[extruder]
step_pin: PF9
dir_pin: PF10
enable_pin: !PG2
heater_pin: PA2 # HE0
sensor_pin:  PF4
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
sensor_type: EPCOS 100K B57560G104F
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 290


[heater_bed]
heater_pin: PA1
sensor_pin: PF3
sensor_type: EPCOS 100K B57560G104F
control: watermark
min_temp: 0
max_temp: 130

[fan]
pin: PA8 # FAN0

[heater_fan fan1]
pin: PE5 # FAN1


[temperature_sensor mcu_temp]
sensor_type: temperature_mcu

[mcu]
serial:/dev/serial/by-id/usb-Klipper_stm32f446xx_12345-if00
#restart_method: command
# setup for PA9, PA10 USART1_tx / rx directly connected to the RPI GPIO TX / RX pins
# These are the pins the OctoPus uses for its built in RPI 40 pin connector
# only connect GND, TX, RX - supply 5v power to the RPI separately
# do not cross over TX/RX - it is done internally on the OctoPus PCB.
# Use "sudo raspi-config" to disable the serial terminal - but enable the serial port.
# When running "make menuconfig" you must un-select the USB Serial check box

[printer]
kinematics: corexz
max_velocity: 300
max_accel: 3000
max_z_velocity: 12
max_z_accel: 5



########################################
# TMC2209 configuration
########################################

[tmc2209 stepper_x]
uart_pin: PC4
run_current: 0.800
hold_current: 0.500
stealthchop_threshold: 999999

[tmc2209 stepper_y]
uart_pin: PD11
run_current: 0.800
hold_current: 0.500
stealthchop_threshold: 999999

[tmc2209 stepper_z]
uart_pin: PC6
run_current: 0.800
hold_current: 0.500
stealthchop_threshold: 999999

[tmc2209 stepper_z1]
uart_pin: PC7
run_current: 0.800
hold_current: 0.500
stealthchop_threshold: 999999

[tmc2209 extruder]
uart_pin: PF2
run_current: 0.800
hold_current: 0.500
stealthchop_threshold: 999999

########################################
# EXP1 / EXP2 (display) pins
########################################

[board_pins]
aliases:
    # EXP1 header
    EXP1_1=PE8, EXP1_2=PE7,
    EXP1_3=PE9, EXP1_4=PE10,
    EXP1_5=PE12, EXP1_6=PE13,    # Slot in the socket on this side
    EXP1_7=PE14, EXP1_8=PE15,
    EXP1_9=<GND>, EXP1_10=<5V>,

    # EXP2 header
    EXP2_1=PA6, EXP2_2=PA5,
    EXP2_3=PB1, EXP2_4=PA4,
    EXP2_5=PB2, EXP2_6=PA7,      # Slot in the socket on this side
    EXP2_7=PC15, EXP2_8=<RST>,
    EXP2_9=<GND>, EXP2_10=<5V>

# See the sample-lcd.cfg file for definitions of common LCD displays.

######################################################################
# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
######################################################################

[display]
lcd_type: st7920
cs_pin: EXP1_4
sclk_pin: EXP1_5
sid_pin: EXP1_3
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
kill_pin: ^!EXP2_8

[output_pin beeper]
pin: EXP1_1




######################################################################
#  Mini 12864Panel (with neopixel backlight leds)
######################################################################

#[display]
#lcd_type: uc1701
#cs_pin: EXP1_3
#a0_pin: EXP1_4
#rst_pin: EXP1_5
#encoder_pins: ^EXP2_5, ^EXP2_3
#click_pin: ^!EXP1_2
## Some micro-controller boards may require an spi bus to be specified:
#spi_bus: spi
## Alternatively, some micro-controller boards may work with software spi:
#contrast: 63
#spi_software_mosi_pin: PA7
#spi_software_miso_pin: PA6
#spi_software_sclk_pin: PA5

#[output_pin beeper]
#pin: EXP1_1

#[neopixel btt_mini12864]
#pin: EXP1_6
#chain_count: 3
#color_order: RGB
#initial_RED: 0.4
#initial_GREEN: 0.4
#initial_BLUE: 0.4

Please post your klippy.log file

Starting Klippy...
Args: ['/home/pi/klipper/klippy/klippy.py', '/home/pi/printer.cfg', '-l', '/tmp/klippy.log']
Git version: 'v0.10.0-286-gfe2974b8'
CPU: 4 core ARMv7 Processor rev 4 (v7l)
Python: '2.7.13 (default, Apr 16 2021, 14:02:03) \n[GCC 6.3.0 20170516]'
Start printer at Sun Mar 13 13:53:48 2022 (1647176028.3 9.0)
===== Config file =====
[stepper_x]
step_pin = PF13
dir_pin = PF12
enable_pin = !PF14
microsteps = 16
rotation_distance = 40
endstop_pin = ^PG6
position_endstop = 0
position_max = 220
homing_speed = 50

[stepper_y]
step_pin = PG0
dir_pin = PG1
enable_pin = !PF15
microsteps = 16
rotation_distance = 40
endstop_pin = PG9
position_endstop = 0
position_max = 250
homing_speed = 50

[stepper_z]
step_pin = PF11
dir_pin = PG3
enable_pin = !PG5
microsteps = 16
rotation_distance = 8
endstop_pin = PG10
position_endstop = 0
position_max = 200
homing_speed = 12

[stepper_z1]
step_pin = PG4
dir_pin = PC1
enable_pin = !PA0
microsteps = 16
rotation_distance = 8

[extruder]
step_pin = PF9
dir_pin = PF10
enable_pin = !PG2
heater_pin = PA2
sensor_pin = PF4
microsteps = 16
rotation_distance = 33.500
nozzle_diameter = 0.400
filament_diameter = 1.750
sensor_type = EPCOS 100K B57560G104F
control = pid
pid_kp = 22.2
pid_ki = 1.08
pid_kd = 114
min_temp = 0
max_temp = 290

[heater_bed]
heater_pin = PA1
sensor_pin = PF3
sensor_type = EPCOS 100K B57560G104F
control = watermark
min_temp = 0
max_temp = 130

[fan]
pin = PA8

[heater_fan fan1]
pin = PE5

[temperature_sensor mcu_temp]
sensor_type = temperature_mcu

[mcu]
serial = /dev/serial/by-id/usb-Klipper_stm32f446xx_12345-if00

[printer]
kinematics = corexz
max_velocity = 300
max_accel = 3000
max_z_velocity = 12
max_z_accel = 5

[tmc2209 stepper_x]
uart_pin = PC4
run_current = 0.800
hold_current = 0.500
stealthchop_threshold = 1

[tmc2209 stepper_y]
uart_pin = PD11
run_current = 0.800
hold_current = 0.500
stealthchop_threshold = 1

[tmc2209 stepper_z]
uart_pin = PC6
run_current = 0.800
hold_current = 0.500
stealthchop_threshold = 1

[tmc2209 stepper_z1]
uart_pin = PC7
run_current = 0.800
hold_current = 0.500
stealthchop_threshold = 1

[tmc2209 extruder]
uart_pin = PF2
run_current = 0.800
hold_current = 0.500
stealthchop_threshold = 1

[board_pins]
aliases = 
	EXP1_1=PE8, EXP1_2=PE7,
	EXP1_3=PE9, EXP1_4=PE10,
	EXP1_5=PE12, EXP1_6=PE13,
	EXP1_7=PE14, EXP1_8=PE15,
	EXP1_9=<GND>, EXP1_10=<5V>,
	EXP2_1=PA6, EXP2_2=PA5,
	EXP2_3=PB1, EXP2_4=PA4,
	EXP2_5=PB2, EXP2_6=PA7,
	EXP2_7=PC15, EXP2_8=<RST>,
	EXP2_9=<GND>, EXP2_10=<5V>

[display]
lcd_type = st7920
cs_pin = EXP1_4
sclk_pin = EXP1_5
sid_pin = EXP1_3
encoder_pins = ^EXP2_5, ^EXP2_3
click_pin = ^!EXP1_2
kill_pin = ^!EXP2_8

[output_pin beeper]
pin = EXP1_1
=======================
Extruder max_extrude_ratio=0.266081
Config error
Traceback (most recent call last):
  File "/home/pi/klipper/klippy/klippy.py", line 157, in _connect
    self._read_config()
  File "/home/pi/klipper/klippy/klippy.py", line 145, in _read_config
    pconfig.check_unused_options(config)
  File "/home/pi/klipper/klippy/configfile.py", line 300, in check_unused_options
    % (option, section))
Error: Option 'step_pin' is not valid in section 'stepper_z1'
Option 'step_pin' is not valid in section 'stepper_z1'

Once the underlying issue is corrected, use the "RESTART"
command to reload the config and restart the host software.
Printer is halted

Transition to shutdown state: Shutdown due to M112 command
Reactor garbage collection: (13.170678588, 0.0, 0.0)
Option 'step_pin' is not valid in section 'stepper_z1'

Once the underlying issue is corrected, use the "RESTART"
command to reload the config and restart the host software.
Printer is halted

Option 'step_pin' is not valid in section 'stepper_z1'

Once the underlying issue is corrected, use the "RESTART"
command to reload the config and restart the host software.
Printer is halted

I do not see anything evidently wrong atm.
I’d recommend to start a new printer.cfg based on klipper/generic-bigtreetech-octopus.cfg at master · Klipper3d/klipper · GitHub
Make sure that you use a Unix compliant editor. It might have happened that you accidentally got any strange characters in your config that now confuses Klipper’s parsing.