Mixing Hotend Custom G-Code -> ! Internal error on command:"G1"

There is no log attached.
Never done this but I guess some sort of extruder sync is needed:

ACTIVATE_EXTRUDER EXTRUDER=extruder
SYNC_EXTRUDER_MOTION EXTRUDER=extruder1 MOTION_QUEUE=extruder

Not directly related but you may want to check: