Forum Discussion

salem_wafi's avatar
salem_wafi
Frequent Visitor
2 years ago
Solved

Unable to Refresh multiple (API) Web Queries that all use the same offline access token

I have a PowerBI Desktop file that has 17 power queries and all of them request the same server "www.example.com/graphql/..." with the same offline access token (p.s. the server uses Keycloak for authentication/authorization).

This is an example of one of the 17 queries API calls:

 


But the problem is when I click on refresh to refresh all of these queries it starts loading for like 3-10 minutes (based on internet speed and server load I assume)

 

And after waiting one of two happens.
either it refreshes all the data correctly or sometimes it fails due to timeout error:

 

 

 

 

My question now is how to avoid the timeout error that sometimes happens. 

  • salem_wafi's avatar
    salem_wafi
    2 years ago

    Anonymous 
    Actually, I was able to find another solution,

    I had to disable the parallel loading so that it would send one request at a time:


    it seems our server gets busier and slower when processing all of these parallel requests simultaneously, which causes it to hit the 100-second Cloudflare timeout for some of them.

3 Replies