<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: powerbi-client-react Report.refresh() throwing undefined error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/powerbi-client-react-Report-refresh-throwing-undefined-error/m-p/4273721#M58187</link>
    <description>&lt;P&gt;No. This is on the&amp;nbsp;&lt;SPAN&gt;powerbi-client-react Report.refresh method. When I make the request, it always returns an "undefined" error.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MSmithAccesso_0-1730971204867.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1195658i49A8DA9B4C334C50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MSmithAccesso_0-1730971204867.png" alt="MSmithAccesso_0-1730971204867.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MSmithAccesso_1-1730971230080.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1195660i461C26CAA072BFAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MSmithAccesso_1-1730971230080.png" alt="MSmithAccesso_1-1730971230080.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I do reload, it works fine but there seems to be an issue specifically with the refresh method:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MSmithAccesso_2-1730971291584.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1195663i3647A7B94C77FDA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MSmithAccesso_2-1730971291584.png" alt="MSmithAccesso_2-1730971291584.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2024 09:21:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-07T09:21:38Z</dc:date>
    <item>
      <title>powerbi-client-react Report.refresh() throwing undefined error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/powerbi-client-react-Report-refresh-throwing-undefined-error/m-p/4272285#M58162</link>
      <description>&lt;P&gt;All of the refresh buttons for our reports have stopped working. Report.reload() works fine but they try/catch for our refresh request hits catch with an error on "undefined".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/microsoft/powerbi-client-react/issues/122" target="_blank" rel="noopener"&gt;We're closing GitHub issues on 01/01/2025 · Issue #122 · microsoft/powerbi-client-react&lt;/A&gt;&amp;nbsp;suggests to raise the issue here. Is anyone else having this problem or know of a fix?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 09:45:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/powerbi-client-react-Report-refresh-throwing-undefined-error/m-p/4272285#M58162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-06T09:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: powerbi-client-react Report.refresh() throwing undefined error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/powerbi-client-react-Report-refresh-throwing-undefined-error/m-p/4273322#M58182</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is your issue that the refresh report button has no effect when used? Or is the button grayed out and not working?&lt;BR /&gt;Is this issue on Power BI Service or Power BI Desktop?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this is a Power BI Service issue, you can download it locally and test if it can be successfully refreshed in Power BI Desktop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check if the credentials of the data source in your semantic model are configured correctly, and what connection mode the data is connected (import/directquery/live connection), and if you need to configure the gateway for refreshing.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Lastly, are your reports in your Personal workspace or App workspace? If in App workspace, can you please ask if your teammates can refresh this report successfully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-data" target="_blank"&gt;Data refresh in Power BI - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-install" target="_blank"&gt;Install an on-premises data gateway | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-scheduled-refresh" target="_blank"&gt;Configure scheduled refresh - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 02:56:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/powerbi-client-react-Report-refresh-throwing-undefined-error/m-p/4273322#M58182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-07T02:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: powerbi-client-react Report.refresh() throwing undefined error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/powerbi-client-react-Report-refresh-throwing-undefined-error/m-p/4273721#M58187</link>
      <description>&lt;P&gt;No. This is on the&amp;nbsp;&lt;SPAN&gt;powerbi-client-react Report.refresh method. When I make the request, it always returns an "undefined" error.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MSmithAccesso_0-1730971204867.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1195658i49A8DA9B4C334C50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MSmithAccesso_0-1730971204867.png" alt="MSmithAccesso_0-1730971204867.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MSmithAccesso_1-1730971230080.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1195660i461C26CAA072BFAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MSmithAccesso_1-1730971230080.png" alt="MSmithAccesso_1-1730971230080.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I do reload, it works fine but there seems to be an issue specifically with the refresh method:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MSmithAccesso_2-1730971291584.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1195663i3647A7B94C77FDA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MSmithAccesso_2-1730971291584.png" alt="MSmithAccesso_2-1730971291584.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 09:21:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/powerbi-client-react-Report-refresh-throwing-undefined-error/m-p/4273721#M58187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-07T09:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: powerbi-client-react Report.refresh() throwing undefined error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/powerbi-client-react-Report-refresh-throwing-undefined-error/m-p/4277996#M58225</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done all tests requested. There are no issues refreshing the reports locally nor there are in powerbi.com. The workpace is accessible and correctly configured.&lt;/P&gt;&lt;P&gt;The reports my colleageue is referring to used to work correctly until we updated the components lately and as he mentioned if we use the reload method instead of the refresh it works correctly. We do not want to use the reload method currently as it will have an impact on performances but the fact it's working proves the issue is not within reports or the online service but somewhere in the react components or our use of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 09:19:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/powerbi-client-react-Report-refresh-throwing-undefined-error/m-p/4277996#M58225</guid>
      <dc:creator>robyfauvess</dc:creator>
      <dc:date>2024-11-11T09:19:19Z</dc:date>
    </item>
  </channel>
</rss>

