Still Impossible to Refresh Repeating Group with API Data?

I’ve seen this asked before and wondering if anything’s changed…

I’m using API Calls to POST, DELETE, and GET data from Supabase, and I’m displaying in Bubble via a repeating group. When I make a call to create or delete something, the repeating group doesn’t update. This isn’t surprising given it’s external, but how is there no way to trigger a refresh of the data in the repeating group? “BubbleBot’s” suggestions of using “Display a list in a repeating group” and “make the source a state instead of the API and update the state” didn’t work. Neither did leaving the source blank and running it based on conditions. Is there really still no way to rerun an api call on an RG without refreshing the page?

Add a header to your API call, name it something like refresh. When initialising add in any numeric value.

When setting up the call in the workflow, add:

Current date/time:extract: UNIX in the ‘refresh’ header that you’ve added.

This should work to refresh the data when the display list approach to refreshing hasnt worked.

3 Likes

This. Bubble caches API calls so this triggers a fresh call.

This is brilliant. Thank you so much!

No problem