# API call from AIrflow queuing the Matillion Job in Pending state

**URL:** <https://matillioncommunity.discourse.group/t/api-call-from-airflow-queuing-the-matillion-job-in-pending-state/2332>\
**Category:** Matillion ETL\
**Created:** [November 10, 2023, 1:08am UTC](https://matillioncommunity.discourse.group/t/api-call-from-airflow-queuing-the-matillion-job-in-pending-state/2332 "2023-11-10T01:08:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![prina.shah](https://avatars.discourse-cdn.com/v4/letter/p/7feea3/32.png) [@prina.shah](https://matillioncommunity.discourse.group/u/prina.shah)\
**Post date:** [November 10, 2023, 1:08am UTC](https://matillioncommunity.discourse.group/t/api-call-from-airflow-queuing-the-matillion-job-in-pending-state/2332/1 "2023-11-10T01:08:48Z")

</div>

Hi,

I am trying to call Matillion via Airflow API call. The job is getting in to Pending state. It is not even triggering or queuing the job to run. Having this issue in the UAT server. API call in DEV was working right.

 ![069Tm0000009FavIAE_0D5Tm000000keRZKAY](https://us1.discourse-cdn.com/flex002/uploads/matillioncommunity/original/1X/288d5a47a343f9cfa2fa38e166f502df7ed028ab.png)

Would someone be able to help with explaining whats the issue and resolution.

Thanks!

---

<div class="post-metadata">

**Author:** ![ChikaMatillionCommunityMgr](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@ChikaMatillionCommunityMgr](https://matillioncommunity.discourse.group/u/ChikaMatillionCommunityMgr)\
**Post date:** [November 14, 2023, 10:46pm UTC](https://matillioncommunity.discourse.group/t/api-call-from-airflow-queuing-the-matillion-job-in-pending-state/2332/2 "2023-11-14T22:46:40Z")

</div>

Hi [@prina.shah](https://matillioncommunity.discourse.group/u/prina.shah)​

Looks like the job is in a queued state. This usually means:

- The instance is already running the max jobs per instance (16), OR
- The job is already running (see earlier tasks) and only one instance of a specific, named job can run at a given moment.

Cheers,

Chika

---

<div class="post-metadata">

**Author:** ![prina.shah](https://avatars.discourse-cdn.com/v4/letter/p/7feea3/32.png) [@prina.shah](https://matillioncommunity.discourse.group/u/prina.shah)\
**Post date:** [November 15, 2023, 4:36am UTC](https://matillioncommunity.discourse.group/t/api-call-from-airflow-queuing-the-matillion-job-in-pending-state/2332/3 "2023-11-15T04:36:17Z")

</div>

Thanks for the response Chika.

1.We dont have limit on the number of instance running should be 16.

2.Here, No jobs were running when this instance got into pending state. Irregardless if job is running or not, it was going into pending state.

Thanks!

---

<div class="post-metadata">

**Author:** ![ChikaMatillionCommunityMgr](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@ChikaMatillionCommunityMgr](https://matillioncommunity.discourse.group/u/ChikaMatillionCommunityMgr)\
**Post date:** [November 15, 2023, 7:25pm UTC](https://matillioncommunity.discourse.group/t/api-call-from-airflow-queuing-the-matillion-job-in-pending-state/2332/4 "2023-11-15T19:25:16Z")

</div>

Hi [@prina.shah](https://matillioncommunity.discourse.group/u/prina.shah)​

Do you have jobs running in other projects that you're not aware of? You can only see the tasks running the project you currently have open.

If none, definitely a bug, and opening support case would be best.

Thanks,

Chika
