Error loading a CSV file from a private repo

I tried running the following command

dataset = load_dataset("csv", data_files="", use_auth_token=True)

but it fails with the following error

HTTPError: 404 Client Error: Not Found for url

I have set the token successfully and generated the url with the hf_hub_url() function

So I am not sure why the url is incorrect. Any idea what I am missing here?

In case anyone else has the same issue, it is because the URL was missing the repo_type; it should have read