add error reporting due to missing api commands, fix message to standard output ordering