Raise error if url isn't specified