Forum Discussion

BBrak's avatar
BBrak
Icon for Advocate I rankAdvocate I
2 years ago
Solved

Failed to update data source credentials: Timeout expired. The timeout period elapsed prior to [..]

hi all, I've published a Power BI report based on an OData query to Power BI Service but I'm getting an error trying to get OData source credentials validated. The full error is: 

"Failed to update data source credentials: Timeout expired. The timeout period elapsed prior to completion of the operation."

The OData query parameters are as follows:
OData.Feed("url", null, [Implementation="2.0",Timeout=#duration(0, 0, 10, 0)])

The thing to note here is that the OData query in question only has about 700 records and 15 columns but takes quite a while to load, probably around 3-5 minutes. Another OData query that is much faster but otherwise has exactly the same connection configuration properties does not experience this problem and the credentials are updated in Power BI Service within seconds

Hence, my questions:

 

1) What exactly is "the timeout period" referenced in the error? It appears the duration of this timeout can't be altered by the user and is different from the timeout duration that can be entered as an additional parameter in the OData.Feed, correct?

2) What workaround options would be suggested here?

Thanks, Bastiaan

  • UPDATE: it turns out that ticking the 'Skip test connection' option prevents the time-out error to occur. The credentials can still be saved and were then accepted during a Refresh.

     

3 Replies

  • UPDATE: it turns out that ticking the 'Skip test connection' option prevents the time-out error to occur. The credentials can still be saved and were then accepted during a Refresh.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi BBrak 

       

      Congratulations!

      Thanks for sharing, I'm sure there are others in the forum who are confused about this issue.

      It will help the others in the community find the solution easily if they face the same problem as yours.

       

      Best Regards

      Zhengdong Xu
      If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • This isn't really a solution because having unvalidated credentials prevents you from scheduling the refresh.