added error output to retrieve Uris