returing full uri on error