Skip to main content
Published: April 20 2011, 11:00:00 AMUpdated: November 28 2020, 9:22:31 PM

Our API app is getting this error: Maximum of one job per job-type in non-terminated state is allowed. How do we resolve this?

This error indicates that that you have a job of that type that has not yet completed. Here is what you can do -

1. Make a call to getJobs and find the status and jobID of the active job. Filter by jobType for better results.
2. Did the response of getJobs return the non-terminated job? Check the status of the job. If the job is in the CREATED state, you can use the same job to upload your payload file and kick start the job using startUploadJob. Alternately you can abort the job using abortJob and start afresh. However, If the job is already being processed, you will need to wait for it to finish before you can submit a new job of that type.

How well did this answer your question?
Answers others found helpful