<?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: Error during Get Reports API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2270990#M33795</link>
    <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/319301"&gt;@deryl1974&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Please take a look at the following documents about the export report and correspond limitations if they meet your scenarios:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report" target="_blank"&gt;Export Power BI embedded analytics paginated reports API - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to#considerations-and-limitations" target="_blank"&gt;Export Power BI embedded analytics reports API - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jan 2022 06:37:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-01-07T06:37:21Z</dc:date>
    <item>
      <title>Error during Get Reports API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2185945#M32876</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to read all reports in my group using azure add token authorization. Token comes back good but when I try to execute the power bi API i get below error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"The requested name is valid, but no data of the requested type was found&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Here is my code:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;private async Task&amp;lt;string&amp;gt; PostExportRequest(Guid reportId, Guid groupId)&lt;BR /&gt;{&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;//Export configurations&lt;BR /&gt;var paginatedReportExportConfiguration = new PaginatedReportExportConfiguration() { FormatSettings = new Dictionary&amp;lt;string, string&amp;gt;() { { "PageHeight", "14in" }, { "PageWidth", "8.5in" }, { "StartPage", "1" }, { "EndPage", "1" } } };&lt;BR /&gt;var exportRequest = new ExportReportRequest { Format = FileFormat.PDF, PaginatedReportConfiguration = paginatedReportExportConfiguration };&lt;/P&gt;&lt;P&gt;//Report and API Urls&lt;BR /&gt;var _apiUrl = new Uri("&lt;A href="https://analysis.windows.net/powerbi/api/" target="_blank"&gt;https://analysis.windows.net/powerbi/api/&lt;/A&gt;");&lt;BR /&gt;var AuthorityUrl = "&lt;A href="https://login.microsoftonline.com/consumers/oauth2/v2.0/" target="_blank"&gt;https://login.microsoftonline.com/consumers/oauth2/v2.0/&lt;/A&gt;&amp;lt;tenentid&amp;gt;";&lt;/P&gt;&lt;P&gt;//Credentials&lt;BR /&gt;string clientID = "&amp;lt;client id for my azure app&amp;gt;";&lt;BR /&gt;string secret = "&amp;lt;secret&amp;gt;";&lt;BR /&gt;var credentials = new Microsoft.IdentityModel.Clients.ActiveDirectory.ClientCredential(clientID, secret);&lt;BR /&gt;var authenticationContext = new AuthenticationContext(AuthorityUrl);&lt;BR /&gt;var authenticationResult = await authenticationContext.AcquireTokenAsync("&lt;A href="https://analysis.windows.net/powerbi/api" target="_blank"&gt;https://analysis.windows.net/powerbi/api&lt;/A&gt;", credentials).ConfigureAwait(false);&lt;BR /&gt;var tokenCredentials = new TokenCredentials(authenticationResult.AccessToken, "Bearer");&lt;/P&gt;&lt;P&gt;var pbClient = new PowerBIClient(_apiUrl, tokenCredentials);&lt;/P&gt;&lt;P&gt;// Get a list of Reports inside group.&lt;BR /&gt;var reports = await pbClient.Reports.GetReportsInGroupAsync(groupId);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}&lt;BR /&gt;catch (Exception ex)&lt;BR /&gt;{&lt;BR /&gt;}&lt;BR /&gt;return null;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Has anyone come across this error? Apprecate all the help in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Lloyd&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 19:45:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2185945#M32876</guid>
      <dc:creator>deryl1974</dc:creator>
      <dc:date>2021-11-11T19:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error during Get Reports API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2189186#M32904</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/319301"&gt;@deryl1974&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;It seems like you are working with the paginated reports which have been limited usage with the 'get report in group' API. I'd like to suggest you take a look at the official document to know more about these:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports/get-reports-in-group" target="_blank" rel="noopener"&gt;Reports - Get Reports In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif" color="#808080"&gt;&lt;EM&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&amp;nbsp;Paginated reports (rdl) don’t have a dataset. As a result, in the API response for paginated reports, the dataset ID value isn’t displayed.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 07:25:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2189186#M32904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-17T07:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error during Get Reports API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2192587#M32941</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Sheng,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your response. However I am getting the same error for power bi reports as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Lloyd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 14:13:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2192587#M32941</guid>
      <dc:creator>deryl1974</dc:creator>
      <dc:date>2021-11-16T14:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error during Get Reports API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2193908#M32957</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/319301"&gt;@deryl1974&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;What type of data source do these testing reports use? Connection mode? Please share some more detailed information to help us clarify your scenario and test to reproduce and troubleshoot your issue.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 08:23:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2193908#M32957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-17T08:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error during Get Reports API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2195070#M32964</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;Xiaoxin,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am getting error for all of my reports. Connected to datasource or not. For this particular one, I an using below connection:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data Source: sql server stored procedure.&lt;/P&gt;&lt;P&gt;Connection: on prem sql server (using a data gateway to connect)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Lloyd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 18:00:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2195070#M32964</guid>
      <dc:creator>deryl1974</dc:creator>
      <dc:date>2021-11-17T18:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error during Get Reports API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2219641#M33273</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/319301"&gt;@deryl1974&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Did these data sources work with import mode or direct query mode? AFAIK, current power bi does not support work with stored procedures in direct query mode. If you are working in this scenario, it may affect the API usages.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 08:21:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2219641#M33273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-03T08:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error during Get Reports API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2266233#M33747</link>
      <description>&lt;P&gt;After looking at the Inner Exception I noticed the following error. Not sure what is causing this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message : "The requested name is valid, but no data of the requested type was found." string&lt;/P&gt;&lt;P&gt;NativeErrorCode : 11004&amp;nbsp;&lt;/P&gt;&lt;P&gt;SocketErrorCode : NoData System.Net.Sockets.SocketError&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not using any data connectivity. Just created test data and populated for testing this scenario.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is higly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lloyd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lloyd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 21:15:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2266233#M33747</guid>
      <dc:creator>deryl1974</dc:creator>
      <dc:date>2022-01-04T21:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error during Get Reports API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2270990#M33795</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/319301"&gt;@deryl1974&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Please take a look at the following documents about the export report and correspond limitations if they meet your scenarios:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-paginated-report" target="_blank"&gt;Export Power BI embedded analytics paginated reports API - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/export-to#considerations-and-limitations" target="_blank"&gt;Export Power BI embedded analytics reports API - Power BI | Microsoft Docs&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 06:37:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-during-Get-Reports-API/m-p/2270990#M33795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-07T06:37:21Z</dc:date>
    </item>
  </channel>
</rss>

