qiskit-ibm-runtime icon indicating copy to clipboard operation
qiskit-ibm-runtime copied to clipboard

Use status code instead of `Ran too long`

Open kt474 opened this issue 1 year ago • 2 comments

In a couple of places in RuntimeJob we are checking for the error reason RAN TOO LONG (example) - this is being changed on the server side so instead we should check for the error code, 1305.

Wait until ntc issue 2790 is complete

kt474 avatar Aug 02 '23 17:08 kt474

Unblocked by ntc/3494

drew-distefano avatar Dec 01 '23 18:12 drew-distefano

Unblocked by ntc/3494

I think we'll have to look into this again on the server side I'm not getting any error reason code when the error is RAN TOO LONG

'state': {'status': 'Cancelled', 'reason': 'Ran too long', 'reasonCode': None}, 'status': 'Cancelled - Ran too long'

kt474 avatar Dec 18 '23 23:12 kt474