Print error message if doc item does not exist.