<?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 API connections in two steps no longer working in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1745389#M18658</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've several reports that connect to third party sources using private API's - as they have daily exports of the current data, I wrote queries to connect to the API to get the list of exports, then take that answer and put it in to another version of the same API, giving me the information from the correct export.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of them have stopped working with the Jan 2021 update of report server - they will refresh correctly in the desktop but scheduled refreshes fail with the generic error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; COM error: Microsoft.PowerBI.ReportServer.ASEngineManagedRoot, The given data source kind is not supported. Data source kind: UnknownCallsite..&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;One of the reports is still refreshing but when I copy that query into a new blank report, that fails it's test scheduled refresh with the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know why this is or if there is a work around?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My queries all work roughly the same way (I have put the second call in a calculated column/function, as well)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Json.Document(Web.Contents("[API LINK]/[source identifier]/exports?api_token=[TOKEN]&amp;amp;api_token_secret=[SECRET]")),&lt;BR /&gt;Source1 = Source{1},&lt;BR /&gt;#"Converted to Table" = Record.ToTable(Source1),&lt;BR /&gt;Value1 = #"Converted to Table"{11}[Value], //this value is the api link for the latest export&lt;BR /&gt;Source2 = Csv.Document(Web.Contents(Value1 &amp;amp; "?api_token=[TOKEN]" &amp;amp; "&amp;amp;api_token_secret=[SECRET]"),[Delimiter=","]),&lt;BR /&gt;#"Promoted Headers" = Table.PromoteHeaders(Source2, [PromoteAllScalars=true]),&lt;/P&gt;&lt;P&gt;...[REST OF QUERY]...&lt;/P&gt;</description>
    <pubDate>Thu, 25 Mar 2021 10:57:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-03-25T10:57:26Z</dc:date>
    <item>
      <title>API connections in two steps no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1745389#M18658</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've several reports that connect to third party sources using private API's - as they have daily exports of the current data, I wrote queries to connect to the API to get the list of exports, then take that answer and put it in to another version of the same API, giving me the information from the correct export.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of them have stopped working with the Jan 2021 update of report server - they will refresh correctly in the desktop but scheduled refreshes fail with the generic error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; COM error: Microsoft.PowerBI.ReportServer.ASEngineManagedRoot, The given data source kind is not supported. Data source kind: UnknownCallsite..&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;One of the reports is still refreshing but when I copy that query into a new blank report, that fails it's test scheduled refresh with the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know why this is or if there is a work around?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My queries all work roughly the same way (I have put the second call in a calculated column/function, as well)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Json.Document(Web.Contents("[API LINK]/[source identifier]/exports?api_token=[TOKEN]&amp;amp;api_token_secret=[SECRET]")),&lt;BR /&gt;Source1 = Source{1},&lt;BR /&gt;#"Converted to Table" = Record.ToTable(Source1),&lt;BR /&gt;Value1 = #"Converted to Table"{11}[Value], //this value is the api link for the latest export&lt;BR /&gt;Source2 = Csv.Document(Web.Contents(Value1 &amp;amp; "?api_token=[TOKEN]" &amp;amp; "&amp;amp;api_token_secret=[SECRET]"),[Delimiter=","]),&lt;BR /&gt;#"Promoted Headers" = Table.PromoteHeaders(Source2, [PromoteAllScalars=true]),&lt;/P&gt;&lt;P&gt;...[REST OF QUERY]...&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 10:57:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1745389#M18658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-25T10:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: API connections in two steps no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1750511#M18673</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Please the veryfy the below restrictions for the datasources.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updatedatasourcesingroup#restrictions" target="_blank"&gt;Datasets - Update Datasources In Group (Power BI Power BI REST APIs) | Microsoft Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Paul Zheng _ Community Support Team&lt;BR /&gt;If this post helps, please Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 02:17:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1750511#M18673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-29T02:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: API connections in two steps no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1794464#M18957</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;, thanks for the help but I'm not using the PowerBI API, it's not about sending requests to the PBI service.&amp;nbsp; I'm using a third party's API as a source of data in the PowerBI desktop app.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 08:18:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1794464#M18957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-04-20T08:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: API connections in two steps no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1916194#M19826</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;were you able to solve your problem? I am experiencing the same issue.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 02:06:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1916194#M19826</guid>
      <dc:creator>seba</dc:creator>
      <dc:date>2021-07-22T02:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: API connections in two steps no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1917255#M19835</link>
      <description>&lt;P&gt;Have you updated to the latest version of report server?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 10:55:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1917255#M19835</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-06-23T10:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: API connections in two steps no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1917271#M19836</link>
      <description>&lt;P&gt;Yes, I did. Running May 2021 now.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 11:05:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1917271#M19836</guid>
      <dc:creator>seba</dc:creator>
      <dc:date>2021-06-23T11:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: API connections in two steps no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1917373#M19837</link>
      <description>&lt;P&gt;Is the second link (Value1) an extension of the primary link ([API LINK]) (ie is it the same base URL) or does it go to a differently structured URL?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the former try using RelativePath.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 11:56:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/API-connections-in-two-steps-no-longer-working/m-p/1917373#M19837</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-06-23T11:56:10Z</dc:date>
    </item>
  </channel>
</rss>

