[enginge] handle errors on bad uri