# Call API Timeout, Webhook Timeout, and Open AI User Aborted Request

**URL:** <https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555>\
**Category:** Ask for Help\
**Created:** [February 6, 2024, 2:14pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555 "2024-02-06T14:14:31Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![bru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bru/32/37841_2.png) [@bru](https://community.glideapps.com/u/bru)\
**Post date:** [February 6, 2024, 2:14pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/1 "2024-02-06T14:14:31Z")

</div>

I’m wondering if there’s any way to get around time outs with the call api action and user aborted request errors with the open ai integration?

I’m getting the user aborted request error frequently from the chat completion open ai integration (it takes gpt a while to complete the intended task, usually \> 60 seconds).

When I try to use the Call API action instead, I run into the same problem. Any idea if an how to work around this? I might try to use a webhook but would prefer to not use 2 updates

---

<div class="post-metadata">

**Author:** ![bru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bru/32/37841_2.png) [@bru](https://community.glideapps.com/u/bru)\
**Post date:** [February 20, 2024, 4:34pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/2 "2024-02-20T16:34:30Z")

</div>

@NoCodeAndy I wanted to bump this. Is there anything we can do about timeouts for Open AI, Call API and Webhooks? I’m getting timeout errors on all of the aforementioned when requests exceeds 60 seconds. This is limiting, particularly when AI takes a bit to perform intended function.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [February 20, 2024, 6:46pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/3 "2024-02-20T18:46:26Z")

</div>

> [@bru](#):
>
> Is there anything we can do about timeouts for Open AI, Call API and Webhooks?

Thanks for tagging me. Let me check with the team. 🙂

---

<div class="post-metadata">

**Author:** ![bru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bru/32/37841_2.png) [@bru](https://community.glideapps.com/u/bru)\
**Post date:** [February 26, 2024, 8:59pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/4 "2024-02-26T20:59:16Z")

</div>

@NoCodeAndy one thing I’ll add to this, seems to be related though maybe not directly is that responses from Open AI using the Open AI integration seem to get cut off after a certain amount of time (less than 60 seconds). Was testing earlier and getting almost entirely partial responses when using the integration. Identical prompt used with same model, settings, etc. via an API call outside of Glide produced the full response.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [February 26, 2024, 10:08pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/5 "2024-02-26T22:08:28Z")

</div>

Can I get your app ID?

I’ll pass that along to the team, it’ll help with troubleshooting.

Your Team ID is in the URL of your Glide dashboard, e.g.  
`go.glideapps.com/o/your-team-id-here`

Your App ID is in the URL of the Glide builder, e.g.  
`go.glideapps.com/a/your-app-id-here/layout`

---

<div class="post-metadata">

**Author:** ![J\_Woosley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/j_woosley/32/64568_2.png) [@J\_Woosley](https://community.glideapps.com/u/J_Woosley)\
**Post date:** [March 24, 2024, 11:25am UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/6 "2024-03-24T11:25:40Z")

</div>

Hi @NoCodeAndy , just wanted to raise my hand to ask about this as well. It’s the number one error I get in my app (which is an AI copywriting app, so you can understand the importance). Other companies have gotten around this by streaming responses in the API calls - would love to see that (or any) fix to this.

---

<div class="post-metadata">

**Author:** ![bru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bru/32/37841_2.png) [@bru](https://community.glideapps.com/u/bru)\
**Post date:** [April 1, 2024, 1:23pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/7 "2024-04-01T13:23:22Z")

</div>

@NoCodeAndy is there any update on this?

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [April 2, 2024, 6:31pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/8 "2024-04-02T18:31:00Z")

</div>

@J_Woosley @bru - How big is the payload you’re sending over? How many characters, approximately? I’ll pass this along.

---

<div class="post-metadata">

**Author:** ![J\_Woosley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/j_woosley/32/64568_2.png) [@J\_Woosley](https://community.glideapps.com/u/J_Woosley)\
**Post date:** [April 2, 2024, 6:42pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/9 "2024-04-02T18:42:39Z")

</div>

The max for the OpenAI 4 Turbo model is 100,000 characters, but we are way under that. It shouldn’t matter, I get time out errors all day long. Would love to see streaming implemented!

---

<div class="post-metadata">

**Author:** ![bru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bru/32/37841_2.png) [@bru](https://community.glideapps.com/u/bru)\
**Post date:** [April 2, 2024, 8:36pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/10 "2024-04-02T20:36:57Z")

</div>

@NoCodeAndy The payload out of Glide is ~ 6,500 characters and the response is ~12,000. Does that factor in to the timeout?

As a nearer term solution, I’d love to simply stop getting the webhook timeout error notifications. There is a call api function involved with the webhook that ultimately gets the data I need in Glide despite it timing out on the glide side, so I don’t want users to think there is an error when the action still effectively works. Removing the timeout or giving users ability to set timeout value across the board (Call API, Webhook, Open AI integration) would still be much more preferable.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [April 2, 2024, 8:48pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/11 "2024-04-02T20:48:34Z")

</div>

@J_Woosley @bru - Thank you both. 🙏

Will update this thread when I have more information from the team.

I’ve escalated this in the meantime.

---

<div class="post-metadata">

**Author:** ![bru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bru/32/37841_2.png) [@bru](https://community.glideapps.com/u/bru)\
**Post date:** [April 22, 2024, 1:34pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/12 "2024-04-22T13:34:02Z")

</div>

@NoCodeAndy Is there any update on this? Thank you very much!

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [April 22, 2024, 5:03pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/13 "2024-04-22T17:03:59Z")

</div>

> [@bru](#):
>
> Is there any update on this?

Our engineering team is investigating the timeout issues now.

I’m keeping an eye on that ticket, along with this thread.

When there’s more to share I’ll drop it here. 🙂

---

<div class="post-metadata">

**Author:** ![J\_Woosley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/j_woosley/32/64568_2.png) [@J\_Woosley](https://community.glideapps.com/u/J_Woosley)\
**Post date:** [May 19, 2024, 11:33am UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/14 "2024-05-19T11:33:32Z")

</div>

Just wondering if there’s any update here 🙂

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [May 19, 2024, 6:07pm UTC](https://community.glideapps.com/t/call-api-timeout-webhook-timeout-and-open-ai-user-aborted-request/70555/15 "2024-05-19T18:07:17Z")

</div>

I heard they increased the default timeout for Call API and Glide AI from 1 min to 5 min
