Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi all,
I’m stuck with an odd caching issue when pulling JSON from a REST API via Web.Contents.
Context
Symptoms
Minimal M (sanitized)
let
BaseUrl = "http://thestaff.co.in:8000",
Path = "api/v1/statistics/vgs/students",
Source = Web.Contents(
BaseUrl,
[
RelativePath = Path,
Query = [
page = "1",
page_size = "-1",
sort_order = "asc"
],
Headers = [
Accept = "application/json",
Authorization = "Bearer " & pToken // pToken is a text parameter (JWT only)
]
]
),
Json = Json.Document(Source)
in
Json
What I’ve already tried (no change):
Observations
Questions for experts
Goal
Make Power BI always pull fresh data from the API (matching Postman and the fresh PBIX), or at least reliably bypass any server or PBID cache when needed.
Happy to share additional sanitized logs or a tiny PBIX if helpful. Thanks!
@rouzbehrasai Quick question, is it in PQ preview that you are seeing the cache data, or when you actually load the data in the model, it still shows the old data
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.