title: Authentication error using Yahoo Finance in Power BI when updating data
body: <p>When trying to autoupdate stock values using Yahoo Finance link from a csv file using this:</p>
  <pre><code>Source = Csv.Document(
      Web.Contents(
        &quot;https://query1.finance.yahoo.com/v7/finance/download/&quot;
          &amp; Comp
          &amp; &quot;?period1=1022112000&amp;period2=&quot;
          &amp; LastDate
          &amp; &quot;&amp;interval=1d&amp;events=history&quot;
      ), 
      [Delimiter = &quot;,&quot;, Columns = 7, Encoding = 1252, QuoteStyle = QuoteStyle.None]
  </code></pre>
  <p>Extra info:  Comp and lastdate are custom parameters, in which comp fetches all company stock data and lastdate records the most recent stock date.</p>
  <p>I keep getting authentication errors everytime I try to access the data using either anonymous or user login. What can I do?</p>
  <p>Thanks</p>