Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HANDS-ON BUG] Can't access the leaderboard #598

Open
kylrw opened this issue Feb 17, 2025 · 0 comments
Open

[HANDS-ON BUG] Can't access the leaderboard #598

kylrw opened this issue Feb 17, 2025 · 0 comments

Comments

@kylrw
Copy link

kylrw commented Feb 17, 2025

Describe the bug

I can't access the leaderboard for any unit, is this on my end or a known issue?

Material

Image

Error message:

runtime error
Exit code: 1. Reason: for_status
response.raise_for_status()
File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/api/datasets/huggingface-projects/drlc-leaderboard-data/commit/main

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/user/app/app.py", line 335, in
run_update_dataset()
File "/home/user/app/app.py", line 315, in run_update_dataset
api.upload_folder(
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1524, in _inner
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4677, in upload_folder
commit_info = self.create_commit(
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1524, in _inner
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4053, in create_commit
hf_raise_for_status(commit_resp, endpoint_name="commit")
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 468, in hf_raise_for_status
raise _format(HfHubHTTPError, message, response) from e
huggingface_hub.errors.HfHubHTTPError: (Request ID: Root=1-67a84d5c-0a35e1c00660f7dd47fc3850;3e5a3747-4a14-485f-861d-dcdd06f2904c)

403 Forbidden: Forbidden: pass create_pr=1 as a query parameter to create a Pull Request.
Cannot access content at: https://huggingface.co/api/datasets/huggingface-projects/drlc-leaderboard-data/commit/main.
Make sure your token has the correct permissions.

@kylrw kylrw changed the title [HANDS-ON BUG] [HANDS-ON BUG] Can't access the leaderboard Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant