Improved error messages in case of missing item in the container