# Error on loading account with qiskit: “TypeError: __init__() missing 1 required positional argument: 'url'”

We are using an open account. We can not load the account even when we use the code on new notebook. The error message is:

TypeError                                 Traceback (most recent call last)
<ipython-input-3-217ef0eaf621> in <module>
6 from qiskit.visualization import *

152
153         # Check for valid credentials.
--> 154         credentials_list = list(discover_credentials().values())
155
156         if not credentials_list:

/opt/conda/lib/python3.7/site-packages/qiskit/providers/ibmq/credentials/__init__.py in discover_credentials(qiskitrc_filename)
62         try:
64             logger.info('Using credentials from %s', display_name)
65             if credentials:

65         if 'verify' in single_credentials.keys():
66             single_credentials['verify'] = bool(single_credentials['verify'])
---> 67         new_credentials = Credentials(**single_credentials)
68         credentials_dict[new_credentials.unique_id()] = new_credentials
69

TypeError: __init__() missing 1 required positional argument: 'url'


Is there any fundamental problem about the accounts?

• Are you running this in the IBM Q Experience? If so, this is a known problem and the team are working to fix it as we speak! – met927 Oct 30 '19 at 9:43

This was an error but it should now be fixed. If this happens again in future, the work around is to remove that line and use IBMQ.enable_account(my_token) instead.