Forum Discussion
abedkhooli
9 years agoFrequent Visitor
Get data from web error: A web API key can only be specified when a web API key name is provided
I have PBI desktop Version: 2.40.4554.463 64-bit (October, 2016) and I am trying to get web data from opensensors using an API with a key. I tried several combinations in the header (one is shown bel...
lukaszp
9 years agoPower BI Team
Not sure what your API is doing. If it doesn't close the HTTP response, I bet the query tab is just sitting there waiting for the rest of the data.
abedkhooli
9 years agoFrequent Visitor
This seems very possible. I tried sending Connection: Close in the header but did not make a difference. My guess is that the API is ignoring it. I also used command timeout = 1.5 min (device reads every 60 sec). Waiting for feedback from the API developer.