Summary:
Do not make the several pre-fetch calls to API endpoints for the Web.Contents method. Just grab the data.
Details:
When using PowerBI DirectQuery it performs 2-3 pre-fetch warm-up calls. Most like to see if the endpoint is alive and if alive has some data.
Similar syntax to below I am using:
GetCSVData = Web.Contents( "https://api.acme.com/v1/exports?order_id=ON-00000",........)
And it results in HTTP errors of 499 (client abort connection) and 502 (bad gateway) and eventually HTTP 200 (ok).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.