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]page Leaderboard:runtime error Exit code: 1. Reason: for_status #593

Open
charming888 opened this issue Feb 5, 2025 · 0 comments

Comments

@charming888
Copy link

Describe the bug

https://huggingface.co/spaces/huggingface-projects/Deep-Reinforcement-Learning-Leaderboard

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 1518, in _inner
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4711, 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 1518, in _inner
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4087, 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-6797abeb-00e76afd55aae49376750581;3e4c25ba-5bca-40a4-a707-52b10a7f08c0)

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.

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