When I use Qiskit to do quantum computing, I suffer from a big problem. When running the code,it turns out to be:

   {"error":{"name":"Error","status":401,"message":"Authorization Required",

It seems that I failed to authorize my account. I don't know how to get authorization. Can anyone help me?

  • 1
    $\begingroup$ Did you input your credentials ? $\endgroup$
    – cnada
    Dec 21, 2018 at 14:15
  • $\begingroup$ Could you paste the code that creates this error. $\endgroup$ Dec 21, 2018 at 16:38

1 Answer 1


Every time you run a code on one of IBM's Q.computers, you'll need to validate your access token which you can find in your IBM Q experience dashboard under the user category. In case, you've done it beforehand but still doesn't seem to work, make sure to delete all your previous account details using


Then try regenerating a new access token, save the credentials and run again.

Or you could try reading the tutorials in IBM Q experience portal


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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