Forum Discussion

bcharlto's avatar
bcharlto
Frequent Visitor
8 years ago

Web Data Source Limitations?

Are there data size limitations when connecting to a web data source?

 

My data source only has 560K rows and was originally loading, however, I am now getting a "DataSourceError: The operation has timed out". The data source is working for my colleagues in the US while I am in a Canadian office.

 

I have reinstalled Power BI, deleted temporary files, created new files, and am still getting issues with one specific URL.

 

Thank you for your time and help!

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    bcharlto,

    Please, go to query editor, right click your data source and click Advanced Editor, set proper Timeout value in the codes of Advanced Editor, then check if you can connect to the web source in Power BI Desktop.

    let    
       Source = Web.Contents ("http://URL ", [Timeout=#duration(0, 30, 0, 0)])
    in    
       Source


    There is a similar thread for your reference.

    https://social.technet.microsoft.com/Forums/en-US/d54165e2-04e4-44e3-888b-792dbe624660/power-query-http-timeout-setting?forum=powerquery

    Regards,
    Lydia

    • bcharlto's avatar
      bcharlto
      Frequent Visitor

      Anonymous,

       

      Thank you for the reply. I have also read through the link and done some more research, however my error now reads: "DataFormat.Error: We reached the end of the buffer."

       

      It did not run 30 minutes before getting this error.

       

      let
          Source = Json.Document(Web.Contents("https://URL", [Timeout=#duration(0,30,0,0)])) in Source

       

      I would try this in a new file, however I can not load the query in order to access the Advanced Editor settings.

       

      Is there something related to this being an https link?

      • Anonymous's avatar
        Anonymous
        Not applicable

        bcharlto,

        You can add a new blank query, then paste the code in the Advanced Editor of the blank query. Replace the URL with your own URL. In addition, is there any possibility that you get limited data by adding required parameter in  the URL?


        let
            Source = Json.Document(Web.Contents("URL", [Timeout=#duration(0,30,0,0)])) 
        in 
            Source




        Regards,
        Lydia