# "Request timed out" for API call in Glide but working in Reqbin

**URL:** <https://community.glideapps.com/t/request-timed-out-for-api-call-in-glide-but-working-in-reqbin/71022>\
**Category:** Ask for Help\
**Created:** [February 21, 2024, 3:42pm UTC](https://community.glideapps.com/t/request-timed-out-for-api-call-in-glide-but-working-in-reqbin/71022 "2024-02-21T15:42:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MattGlides](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MattGlides](https://community.glideapps.com/u/MattGlides)\
**Post date:** [February 21, 2024, 3:42pm UTC](https://community.glideapps.com/t/request-timed-out-for-api-call-in-glide-but-working-in-reqbin/71022/1 "2024-02-21T15:42:38Z")

</div>

I did see another post about this and would like to state that this API IS an https and it is a rest API. Currently I have all my data set up in a JSON template column:

 ![Screenshot 2024-02-21 172937](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/7/c768bd64b98bf283a57a2af1feec2aef925f307d.png)

The only header they require is Content-Type: application/json and as you can see I attached the above in my API call(the JSON template is the body):

 ![Screenshot 2024-02-21 172957](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/3/c3618d5bb2e05e3a18501e256c91dda5ca4a9a27.png)

However it is returning this error message:  
 ![Screenshot 2024-02-21 173113](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/3/d31cf3bb80c7d2b3e036821fc0f0dd1d1647371f.png)

Now I have no experience with reqbin but I went there, copy pasted exactly what is in my template JSON column into the content there. Added in the singluar header(content-type) and copy pasted the exact endpoint in my API… and it worked perfectly:

 ![Screenshot 2024-02-21 173014](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/a/ca19980bc5e2a8f4b53104802d16468d6b739687.png)

Has anyone ran into this issue before or have any idea what I could be doing wrong?

(Added note, nothing in my JSON template column is being replaced. I am sending the exact copy paste example they have given us)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [February 22, 2024, 12:13am UTC](https://community.glideapps.com/t/request-timed-out-for-api-call-in-glide-but-working-in-reqbin/71022/2 "2024-02-22T00:13:30Z")

</div>

I doubt this relates to CORS, but other than that I don’t know why it wouldn’t work, providing you have the correct setup and the response time of 1133 ms in the last screenshot.

Have you tried configuring that as an action opposed to a column?

---

<div class="post-metadata">

**Author:** ![MattGlides](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MattGlides](https://community.glideapps.com/u/MattGlides)\
**Post date:** [February 22, 2024, 6:27am UTC](https://community.glideapps.com/t/request-timed-out-for-api-call-in-glide-but-working-in-reqbin/71022/3 "2024-02-22T06:27:51Z")

</div>

Tried it, still didn’t. So I tried their schema, which is literally just a GET API call with one header. No body. Just an endpoint, via GET method, content-type:application/json. Once again, complete time-out. If I add it as a button action(watched Robert and Darren Humphries videos on that and it works the same as the column so I know thats correct too) the button just goes light for 30 seconds then dark again and nothing happened, i.e timed out. And once again if I literally just copy my endpoint into [reqbin.com](http://reqbin.com), and add that singluar header…

 ![Screenshot 2024-02-22 082114](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/4/542dbc686b18590a71d52aee553c4e8ff06180d4.png)

This is really frustrating so I added more of the endpoint in the ss, does the fact its a port mean thats why Glide is struggling?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [February 22, 2024, 6:34am UTC](https://community.glideapps.com/t/request-timed-out-for-api-call-in-glide-but-working-in-reqbin/71022/4 "2024-02-22T06:34:47Z")

</div>

> [@MattGlides](#):
>
> This is really frustrating so I added more of the endpoint in the ss, does the fact its a port mean thats why Glide is struggling?

That’s quite possible. So it’s expecting HTTPS on port 501?  
It might be that Glide enforces port 443 for HTTPS.

@DJP can probably answer that one.

(If you have access to webserver, you could test this by setting up a dummy endpoint, and then run a tcpdump on the ingress interface).

---

<div class="post-metadata">

**Author:** ![MattGlides](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MattGlides](https://community.glideapps.com/u/MattGlides)\
**Post date:** [February 22, 2024, 6:40am UTC](https://community.glideapps.com/t/request-timed-out-for-api-call-in-glide-but-working-in-reqbin/71022/5 "2024-02-22T06:40:16Z")

</div>

35501 are the last numbers after the : in that endpoint, not sure on the relevance but yes an answer would be appreciated. If Glide does enforce port 443, is that something the API could change on their end(to your knowledge I understand some differ). Basically will it still be possible to form a connection if this is the issue.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [February 22, 2024, 6:45am UTC](https://community.glideapps.com/t/request-timed-out-for-api-call-in-glide-but-working-in-reqbin/71022/6 "2024-02-22T06:45:55Z")

</div>

Yes, anything that comes after the colon and the first forward slash is the port number.  
443 is the default port for HTTPS, but it’s not uncommon for custom port numbers to be used.

I don’t know if Glide force 443 or not, that was just speculation. But it would explain the timeout.  
If that is the case, then you’d either need to ask the provider if they can provide an endpoint that listens on 433, or hope that Glide might add support for custom ports.

Anyway, all speculation. Best to wait for a definitive answer.

---

<div class="post-metadata">

**Author:** ![MattGlides](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@MattGlides](https://community.glideapps.com/u/MattGlides)\
**Post date:** [February 22, 2024, 7:19am UTC](https://community.glideapps.com/t/request-timed-out-for-api-call-in-glide-but-working-in-reqbin/71022/7 "2024-02-22T07:19:56Z")

</div>

Okay thanks, while I wait for a response can I ask: to your knowledge if Glide does enforce a 443(speculation) and the API keeps their custom port number is there any other way to connect if Glide doesn’t allow for custom ports(speculation)? So if the API won’t change and neither will Glide, would there be another way?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [February 22, 2024, 7:39am UTC](https://community.glideapps.com/t/request-timed-out-for-api-call-in-glide-but-working-in-reqbin/71022/8 "2024-02-22T07:39:35Z")

</div>

Another option would be to setup a forwarding proxy server.

---

<div class="post-metadata">

**Author:** ![DJP](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/djp/32/62545_2.png) [@DJP](https://community.glideapps.com/u/DJP)\
**Post date:** [February 22, 2024, 7:48pm UTC](https://community.glideapps.com/t/request-timed-out-for-api-call-in-glide-but-working-in-reqbin/71022/9 "2024-02-22T19:48:42Z")

</div>

Hi, Matt! For something like this, we will need more information about your app, so our Engineering team can look into it.

Please follow these steps to open a Support ticket: [Support | Glide Docs](https://www.glideapps.com/docs/support#support)
