Dataset Viewer issue for TheNoob3131/mosquito-data
COLLABORATOR
Thanks for reporting. I refreshed the dataset viewer and it now works as expected.

https://huggingface.co/datasets/TheNoob3131/mosquito-data

<img width="1135" alt="Capture d’écran 2022-07-18 à 13 15 22" src="https://user-images.githubusercontent.com/1676121/179566497-e47f1a27-fd84-4a8d-9d7f-2e0f2da803df.png">

We will investigate why it occurred in the first place

2022-07-18T17:15:50Z
https://github.com/huggingface/datasets/issues/4707#issuecomment-1187811406
https://api.github.com/repos/huggingface/datasets/issues/4707
IC_kwDODunzps5GzJBO
https://api.github.com/repos/huggingface/datasets/issues/comments/1187811406/reactions
2022-07-18T17:16:06Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1187811406
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
COLLABORATOR
By chance, could you provide some details about the operations done on the dataset: was it private? gated?
2022-07-18T17:17:34Z
https://github.com/huggingface/datasets/issues/4707#issuecomment-1187819353
https://api.github.com/repos/huggingface/datasets/issues/4707
IC_kwDODunzps5GzK9Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1187819353/reactions
2022-07-18T17:17:34Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1187819353
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
NONE
Yes, it was a private dataset, and when I made it public, the Dataset Preview did not work. 

However, now when I make the dataset private, it says that the Dataset Preview has been disabled. Why is this?
2022-07-18T18:26:53Z
https://github.com/huggingface/datasets/issues/4707#issuecomment-1188064672
https://api.github.com/repos/huggingface/datasets/issues/4707
IC_kwDODunzps5G0G2g
https://api.github.com/repos/huggingface/datasets/issues/comments/1188064672/reactions
2022-07-18T18:26:53Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1188064672
https://avatars.githubusercontent.com/u/53668030?v=4
https://api.github.com/users/thenerd31/events{/privacy}
https://api.github.com/users/thenerd31/followers
https://api.github.com/users/thenerd31/following{/other_user}
https://api.github.com/users/thenerd31/gists{/gist_id}
https://github.com/thenerd31
thenerd31
MDQ6VXNlcjUzNjY4MDMw
https://api.github.com/users/thenerd31/orgs
https://api.github.com/users/thenerd31/received_events
https://api.github.com/users/thenerd31/repos
https://api.github.com/users/thenerd31/starred{/owner}{/repo}
https://api.github.com/users/thenerd31/subscriptions
User
https://api.github.com/users/thenerd31
public
COLLABORATOR
Thanks for the details. For now, the dataset viewer is always disabled on private datasets (see https://huggingface.co/docs/hub/datasets-viewer for more details)
2022-07-18T18:42:21Z
https://github.com/huggingface/datasets/issues/4707#issuecomment-1188100981
https://api.github.com/repos/huggingface/datasets/issues/4707
IC_kwDODunzps5G0Pt1
https://api.github.com/repos/huggingface/datasets/issues/comments/1188100981/reactions
2022-07-18T18:42:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1188100981
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
NONE
Hi, it was working fine for a few hours, but then I can't see the dataset viewer again (public dataset). Why is this still happening?
It's the same error too:
![image](https://user-images.githubusercontent.com/53668030/179602465-f220f971-d3aa-49ba-a31b-60510f4c2a89.png)

2022-07-18T19:31:50Z
https://github.com/huggingface/datasets/issues/4707#issuecomment-1188214880
https://api.github.com/repos/huggingface/datasets/issues/4707
IC_kwDODunzps5G0rhg
https://api.github.com/repos/huggingface/datasets/issues/comments/1188214880/reactions
2022-07-18T19:31:50Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1188214880
https://avatars.githubusercontent.com/u/53668030?v=4
https://api.github.com/users/thenerd31/events{/privacy}
https://api.github.com/users/thenerd31/followers
https://api.github.com/users/thenerd31/following{/other_user}
https://api.github.com/users/thenerd31/gists{/gist_id}
https://github.com/thenerd31
thenerd31
MDQ6VXNlcjUzNjY4MDMw
https://api.github.com/users/thenerd31/orgs
https://api.github.com/users/thenerd31/received_events
https://api.github.com/users/thenerd31/repos
https://api.github.com/users/thenerd31/starred{/owner}{/repo}
https://api.github.com/users/thenerd31/subscriptions
User
https://api.github.com/users/thenerd31
public
COLLABORATOR
OK? This is a bug, thanks for help spotting and reproducing it (it occurs when a dataset is switched to private, then to public). We will be working on it, meanwhile, I've restored the dataset viewer manually again.
2022-07-18T19:44:17Z
https://github.com/huggingface/datasets/issues/4707#issuecomment-1188227729
https://api.github.com/repos/huggingface/datasets/issues/4707
IC_kwDODunzps5G0uqR
https://api.github.com/repos/huggingface/datasets/issues/comments/1188227729/reactions
2022-07-18T19:44:46Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1188227729
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
### Link

_No response_

### Description

Getting this error when trying to view dataset preview: 
Message:       401, message='Unauthorized', url=URL('https://huggingface.co/datasets/TheNoob3131/mosquito-data/resolve/8aceebd6c4a359d216d10ef020868bd9e8c986dd/0_Africa_train.csv')


### Owner

_No response_