lose the {machine_width}
And in fact, replace everything in {} curly brackets with actual numbers.
I'm guessing that was in the bit you copied, but you were meant to replace it with an actual number.

Could be wrong, but I've only ever put numbers in gcode for slicers.

expecting the slicer to go and find the requisite numbers for itself, might be a bit of a stretch :-)