Skip to content

Can't run lab 0 on Google Collab: 401 even though I refreshed the API key several times #22

@mheiber

Description

@mheiber

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions