Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Unable to retrieve jobs from the retired device manila #837

Open
adrianor opened this issue Jul 24, 2024 · 1 comment
Open

Unable to retrieve jobs from the retired device manila #837

adrianor opened this issue Jul 24, 2024 · 1 comment
Labels
type: bug Something isn't working

Comments

@adrianor
Copy link

adrianor commented Jul 24, 2024

Information

  • qiskit-ibm-provider version: 0.20.2
  • Python version: Python 3.9.7
  • Operating system: Manjaro Linux. Kernel: Linux 5.15.162-1-MANJARO

What is the current behavior?

I have a strange issue in retrieving jobs from the retired device manila from the jupyter notebook. I have two batches of jobs that I am working with. One batch I can access it without any problems but the id's of the other batch are unreachable. I honestly can't explain why this is the case, as it is the same device.

Steps to reproduce the problem

In both cases, I retrieve the jobs using

from qiskit import IBMQ
provider = IBMQ.load_account()
job_id =  <job_id>
retrieve_job = provider.backend.retrieve_job(job_id)

In the batch where this fails I obtain the error

(...)
IBMQBackendApiError: "Failed to get job cj56nj0l9m0cicsnbln0: '404 Client Error: Not Found for url: https://api.quantum.ibm.com/api/Network/ibm-q/Groups/open/Projects/main/Jobs/cj56nj0l9m0cicsnbln0/v/1. Job not found., Error code: 3250.'"

(If you require more output please let me know.)

I also tried the official suggestion

from qiskit_ibm_provider import IBMProvider
provider = IBMProvider(instance="ibm-q/open/main")
##provider = IBMProvider(instance="hub/group/project")

#If you want to retrieve a specific job you have the id for
job = provider.backend.retrieve_job('cjd6tm3qmesganhces60')

I suppose the first option for the provider is my case, I just wanted to try also the code as it is the webpage. In any case, I obtain a similar error message as before

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

I should also note that the jobs exist, as I can see it in my ib quantum experience account.

What is the expected behavior?

It is expected that the same code can do the same job, in this case, retrieve jobs information from a certain device.

Suggested solutions

@adrianor adrianor added the type: bug Something isn't working label Jul 24, 2024
@jwoehr
Copy link
Contributor

jwoehr commented Jul 24, 2024

As indicated on the main page of this repo, qiskit-ibm-provider is deprecated. It appears to be out of maintenance, and thus it may not be aligned with recent changes to various backends, especially as regards retired backends. Note: I am not an IBM employee.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants