I successfully installed qiskit, yet am unable to load my account in the Jupyter notebook.

Each time I load my account in Jupyter notebook here is the response I get

RequestsApiError: 401 Client Error: Unauthorized for url: https://auth.quantum-computing.ibm.com/api/users/loginWithToken. LOGIN_FAILED, Error code: LOGIN_FAILED.

What causes this?


This is normally caused by incorrect credentials being used. To fix this you can generate a new API key and update your saved credentials to use this instead.

You can do this by navigating to https://quantum-computing.ibm.com and getting your API key from the My Account section. In a notebook then run IBMQ.save_account('YOUR API KEY', overwrite=True). This will remove any incorrect credentials from your system and then the login should work.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.