For all intent and purpose, your command is echo -a 1. This is a no-argument echo to the active window in color 1, thus your error.