Start a conversation

Insufficient Funds Error in REST

How to handle REST jobs that fail because you've run out of user credit:

- If user call the API /jobs/{id}/submit and it fails due to insufficient funds, user can add funds, user then will need to call API  /jobs/{id}/submit again and it will succeed.


- User needs to use the API -- GET /molpro/jobs to get a list of their jobs. The jobs that have jobStatus EDITING are not yet submitted. Note - it is recommended to use the startDate and endDate parameters to keep the search narrow, otherwise the response can become huge (and even timeout) depending on the number of jobs they have. See below screenshot.


- Also user can set the includeCost parameter to false to speed up the API response. See below screenshot.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Carly Brown

  2. Posted
  3. Updated

Comments