Throw exception if no URL