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

I am getting Runtime erro when I try to access leaderboard after completing the hands-on #441

Closed
valmetisrinivas opened this issue Dec 13, 2023 · 7 comments

Comments

@valmetisrinivas
Copy link

I have re-run my first hands-on exercise, Lunar Lander a few times. I am trying to access the leaderboard to check my position. However, I am getting the run time error as shown in the picture for the last several days. How can I resolve this issue?
image

@simoninithomas
Copy link
Member

Hey there 👋 , we just restarted the leaderboard thanks for pointing this out.

@simoninithomas
Copy link
Member

@valmetisrinivas
Copy link
Author

valmetisrinivas commented Dec 13, 2023 via email

@singhsegv
Copy link

I am facing the same issue with a different error:

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.

@AHubanov
Copy link

It doesn't work for me either.
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.

@RockyAZ
Copy link

RockyAZ commented Mar 10, 2025

HEY, DO SOMETHING! It doesn't work for me either(

Full log:


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 <module>
    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.

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 <module>
    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.**_

@ezavarygin
Copy link

@simoninithomas would you mind restarting it again?

Related issues:

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

6 participants