Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31068

Web.Contents executed twice?

$
0
0

Hi,

I have a problem getting data from REST API. Here's some background:

 

I'm trying to get data from REST API with Web.Contents. This API requires md5 hashed code and each call has to be unique (hashed code can be used only once). URL and md5 hashed code are generated in Power BI before calling the API and everything is fine so far. But each Web.Contents call returns error message REQUEST_NOT_UNIQUE: Unique hashed code is already used.

 

Next lines are from Power BI log. It seems that Web.Contents is executed twice.

 

Line 2384: DataMashup.Trace Information: 24579 : {"Start":"2017-12-19T11:43:53.4206534Z","Action":"Engine/IO/Web/Request/GetResponse","HostProcessId":"18160","RequestMethod":"GET","RequestUri":"XXXXX?StartDate=2010-01-01&EndDate=2017-12-01","RequestHasContent":"False","RequestHasHeaders":"True","RequestHasTimeout":"True","UseCache":"True","ResponseStatusCode":"200","ProductVersion":"2.53.4954.481...


Line 2385: DataMashup.Trace Information: 24579 : {"Start":"2017-12-19T11:43:53.6923237Z","Action":"Engine/IO/Web/Request/GetResponse","HostProcessId":"18160","RequestMethod":"GET","RequestUri":"XXXXX?StartDate=2010-01-01&EndDate=2017-12-01","RequestHasContent":"False","RequestHasHeaders":"True","RequestHasTimeout":"True","UseCache":"True","ResponseStatusCode":"200","ProductVersion":"2.53.4954.481...

 

Any ideas how to fix this or is there any possible workarounds to get the data from API?


Viewing all articles
Browse latest Browse all 31068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>