error warning if uri cannot be found.