updated fetch error when document cannot be found