Handle invalid urls for projects and datasets

closes #224