-
Notifications
You must be signed in to change notification settings - Fork 236
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
Can't run lab 0 on Google Collab: 401 even though I refreshed the API key several times #22
Comments
@mheiber Welcome to the challenge! Sorry to hear that you are facing the issue. What you have tried should have fixed the issues in most cases that I have encountered. I am not sure what the problem is. However, you mentioned that you are using Google Colab. Can you please try installing Jupyter notebook / JupyterLab on your local machine and run the notebooks? https://jupyter.org/ |
I am having the same issue on Google Colab. |
I am trying to my local machine, but I have an error, which is "401 Client Erro" |
@HuangJunye thanks for the welcome. I also tried running the notebook for Lab 0 locally and hit a different problem: #21 |
I am having the same issue, for lab 1. |
The line:
grade_lab0_ex1(observables)
is failing with:Failed: 401 Client Error: Unauthorized for url: https://auth.quantum.ibm.com/api/users/loginWithToken
even though I set an API key and confirmed that the environment variable is set. I also tried generating a new API key and re-running several times. I see there was a recent issue (https://docs.quantum.ibm.com/announcements/service-alerts/2024-06-05-api-token-refresh) that required a token refresh, but several refreshes didn't solve the problem.
Thanks for your work on the June challenge and cool platform and learning materials.
The text was updated successfully, but these errors were encountered: