Refresh data from REST API response

Hi, I have a couple of text fields that display data from two separate API endpoints.

One of them is making a request from within an HTTP REST API Fetcher. The other one is doing a data query and is placed outside the Fetcher.

There is also a button that, when clicked, refreshes all the queries. I want to make it so it only refreshes the REST API Fetcher data, and not the other data query.

If I choose to limit the queryInvalidation to “$ctx.fetchedData” (the Fetcher response) I get an error stating: “t.some is not a Function”

Thanks.

Hello @dimitar_d-b-ventures.

Can you send us your project link? The queryInvalidation parameter expects a string: the cache key for the queries you want to invalidate.