GRBL 1.1 Error 20

GRBL 1.1ErrorPosition is kept

The line has a G or M code this controller doesn't know.

Position is kept. An error means the controller refused that one line or command, so nothing moved for it. (Hamrun's reading)
What to do
  1. Find the code on the line it stopped on (for example G41, M6 or G28.1 on some boards).
  2. Use the post-processor for your controller, or remove that command.
Official GRBL 1.1 message: “Unsupported or invalid g-code command found in block.” source

Got a different message?

Paste it into the decoder. Hamrun's editor checks your G-code before you run it, so a toolpath that leaves the machine's travel or a missing feed rate is caught before the machine stops.

Related codes

Official text copied from the GRBL 1.1 source on 2026-11-01. Steps and the position answer are Hamrun's reading unless marked “firmware says”. User reports are labelled CLAIMED.