# Call API auto refresh not working

**URL:** <https://community.glideapps.com/t/call-api-auto-refresh-not-working/67908>\
**Category:** Report a Bug\
**Tags:** api, call-api\
**Created:** [November 17, 2023, 6:44pm UTC](https://community.glideapps.com/t/call-api-auto-refresh-not-working/67908 "2023-11-17T18:44:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![radu\_me](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@radu\_me](https://community.glideapps.com/u/radu_me)\
**Post date:** [November 17, 2023, 6:44pm UTC](https://community.glideapps.com/t/call-api-auto-refresh-not-working/67908/1 "2023-11-17T18:44:54Z")

</div>

![123123](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/5/f52eeed540253c5610d5c834df6dd057f911f16c.png)

When I set the auto-refresh to a certain timeframe it doesn’t work.  
The API refreshes if I force it with a CTA where I manually refresh it every time, but the automated refresh doesn’t seem to work.  
Did anyone else encounter this issue? Or am I typing the timeframe wrong?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [November 17, 2023, 7:21pm UTC](https://community.glideapps.com/t/call-api-auto-refresh-not-working/67908/2 "2023-11-17T19:21:26Z")

</div>

Not sure if this is the case for you, but this is what it says in the documentation.

 ![Screenshot_20231117-132039](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/4/847e9ee490ba21c1a45bf9712a3b987a333954ba.jpeg)

---

<div class="post-metadata">

**Author:** ![radu\_me](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@radu\_me](https://community.glideapps.com/u/radu_me)\
**Post date:** [November 17, 2023, 7:39pm UTC](https://community.glideapps.com/t/call-api-auto-refresh-not-working/67908/3 "2023-11-17T19:39:10Z")

</div>

Yes, I initially thought about that as well, but I’m not sure to be honest because this API is for the price of Bitcoin, which changes every second (some event that makes it clear that data needs to be updated), so it should get updated, but for some reason, it doesn’t. I don’t know… I thought maybe I am not formating the timeframe correctly in minutes or seconds. Or it’s in fact a bug

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [November 17, 2023, 8:03pm UTC](https://community.glideapps.com/t/call-api-auto-refresh-not-working/67908/4 "2023-11-17T20:03:11Z")

</div>

Yeah, I’m not sure. My only thought is that maybe data needs to change in that row to trigger the refresh, or maybe Glide doesn’t like a refresh rate of 1 minute since that is pretty aggressive and will eat through your updates very quickly.

My only thought is to add a dummy query parameter that pulls a timestamp, but you need to be very careful that your timestamp doesn’t change every 10 seconds or every minute for that matter. It would have to be a value that doesn’t change too often, but is automatically calculated based on current time. Maybe every 10 or 15 minutes. Overall, Glide may frown on CallAPI being ran excessively, so I’m not saying it’s a good idea or recommended, but it is an idea.

A math columns with a formula like this would give you a value that changes once every 10 minutes and you could maybe plug that into the query parameters.

`Hour(Now)*100+Floor(Minute(Now))`

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [May 15, 2024, 8:03pm UTC](https://community.glideapps.com/t/call-api-auto-refresh-not-working/67908/5 "2024-05-15T20:03:40Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
