Respond with error if command is invalid