<?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 Error code  0x80131500  when using  Rest Api in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Error-code-0x80131500-when-using-Rest-Api/m-p/840960#M21334</link>
    <description>&lt;P&gt;For Api calling with&amp;nbsp; c#&amp;nbsp; to get tokem number or report&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var credentials = new TokenCredentials(vars.Azure.accessToken);&lt;/P&gt;&lt;P&gt;client.BaseUri = new Uri("&lt;A href="https://api.powerbi.com" target="_blank"&gt;https://api.powerbi.com&lt;/A&gt;");&lt;BR /&gt;var generateTokenRequestParameters = new GenerateTokenRequest(accessLevel: "view");&lt;BR /&gt;var r= await client2.Reports.GenerateTokenInGroupAsync(vars.ApiBi.groupBi, vars.ApiBi.reportBi, generateTokenRequestParameters);&lt;/P&gt;&lt;P&gt;here is the error&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.AggregateException HResult=0x80131500&lt;BR /&gt;Inner Exception 1:HttpOperationException: Operation returned an invalid status code 'NotFound'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have pro version for power bi and free version for azure&amp;nbsp;&lt;/P&gt;&lt;P&gt;using c# 2017-2019&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2019 11:59:37 GMT</pubDate>
    <dc:creator>project101</dc:creator>
    <dc:date>2019-11-08T11:59:37Z</dc:date>
    <item>
      <title>Error code  0x80131500  when using  Rest Api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-code-0x80131500-when-using-Rest-Api/m-p/840960#M21334</link>
      <description>&lt;P&gt;For Api calling with&amp;nbsp; c#&amp;nbsp; to get tokem number or report&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var credentials = new TokenCredentials(vars.Azure.accessToken);&lt;/P&gt;&lt;P&gt;client.BaseUri = new Uri("&lt;A href="https://api.powerbi.com" target="_blank"&gt;https://api.powerbi.com&lt;/A&gt;");&lt;BR /&gt;var generateTokenRequestParameters = new GenerateTokenRequest(accessLevel: "view");&lt;BR /&gt;var r= await client2.Reports.GenerateTokenInGroupAsync(vars.ApiBi.groupBi, vars.ApiBi.reportBi, generateTokenRequestParameters);&lt;/P&gt;&lt;P&gt;here is the error&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.AggregateException HResult=0x80131500&lt;BR /&gt;Inner Exception 1:HttpOperationException: Operation returned an invalid status code 'NotFound'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have pro version for power bi and free version for azure&amp;nbsp;&lt;/P&gt;&lt;P&gt;using c# 2017-2019&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 11:59:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-code-0x80131500-when-using-Rest-Api/m-p/840960#M21334</guid>
      <dc:creator>project101</dc:creator>
      <dc:date>2019-11-08T11:59:37Z</dc:date>
    </item>
  </channel>
</rss>

