<?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: Call rest API through on-premise gateway in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4129361#M5220</link>
    <description>&lt;P&gt;What prevents you from using the known good connector?&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/migueesc123/PowerBIRESTAPI" target="_blank"&gt;GitHub - migueesc123/PowerBIRESTAPI: A Microsoft Power BI Data Connector or Power Query Connector for the Power BI REST API&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Sep 2024 10:15:32 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-09-02T10:15:32Z</dc:date>
    <item>
      <title>Call rest API through on-premise gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4129305#M5219</link>
      <description>&lt;P&gt;I am trying to GET data from an on-premise rest API via the OPDG.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-The API works on the server (simple GET with response body in json).&lt;/P&gt;&lt;P&gt;-I have installed the on-premise data gateway on the server (gateway appears in fabric).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I configure the copy data activity in the pipeline (with a suitable connection specifing rest connection type and selecting the gateway and adding in the URL), the test connection/run pipeline fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the issue? Supposely this is possible as per&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/connector-rest-overview" target="_blank" rel="noopener"&gt;REST connector overview - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-Testing with URL 127.0.0.1 or localhost gives a similar error. 10.0.0.4 is the IP as per ipconfig.&lt;BR /&gt;-Testing with Dataflow Gen 2 with Web API activity gives the error "&lt;SPAN&gt;An exception occurred: Unable to connect to the remote server"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 09:51:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4129305#M5219</guid>
      <dc:creator>dnwork</dc:creator>
      <dc:date>2024-09-02T09:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Call rest API through on-premise gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4129361#M5220</link>
      <description>&lt;P&gt;What prevents you from using the known good connector?&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/migueesc123/PowerBIRESTAPI" target="_blank"&gt;GitHub - migueesc123/PowerBIRESTAPI: A Microsoft Power BI Data Connector or Power Query Connector for the Power BI REST API&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 10:15:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4129361#M5220</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-02T10:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Call rest API through on-premise gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4129467#M5224</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;I want to land the api response into a lakehouse (files). I don't see how it helps me as it seems to be a custom connector for power BI desktop (?)&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 11:37:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4129467#M5224</guid>
      <dc:creator>dnwork</dc:creator>
      <dc:date>2024-09-02T11:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Call rest API through on-premise gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4129703#M5227</link>
      <description>&lt;P&gt;That connector is for the gateway too.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 14:36:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4129703#M5227</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-02T14:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Call rest API through on-premise gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4142352#M5314</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="800251" data-lia-user-login="dnwork" class="lia-mention lia-mention-user"&gt;dnwork&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much lbendlin&amp;nbsp;for your prompt reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you tell me if your problem is solved? If yes, please accept it as solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nono Chen&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 08:40:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4142352#M5314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-10T08:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Call rest API through on-premise gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4142374#M5315</link>
      <description>&lt;P&gt;hi Anonymous&lt;/a&gt;&amp;nbsp; no. I have added the connector to the OPDG and created the connection in fabric but it does not appear in the copy data activity or dataflow gen 2.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Creating the connection also doesnt have a URL option which doesn't seem right.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 08:49:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4142374#M5315</guid>
      <dc:creator>dnwork</dc:creator>
      <dc:date>2024-09-10T08:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Call rest API through on-premise gateway</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4142420#M5317</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="800251" data-lia-user-login="dnwork" class="lia-mention lia-mention-user"&gt;dnwork&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are some ways to try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ensure that the firewall on the server hosting the API allows incoming connections to the ports used by the API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Double check that the local data gateway is properly configured and running. Make sure it is connected to the network and can communicate with the server hosting the API. Ensure that the gateway is properly registered in Microsoft Fabric and that it is selected in connection Settings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ensure that the REST connectors in the pipeline are configured correctly and have the appropriate urls, headers, and necessary authentication details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message "Unable to connect to remote server" indicates a connection problem. Check the detailed error logs in the gateway and pipeline run history for more specific information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your network uses proxies, make sure the proxy Settings are configured correctly in the gateway. You may need to add the address of the API server to the proxy allowed list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can review the following links to try the connection again:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/connector-rest" target="_blank"&gt;How to create a REST connection - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/connector-rest-copy-activity" target="_blank"&gt;Configure REST in a copy activity - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nono Chen&lt;/P&gt;
&lt;P&gt;If this &lt;STRONG&gt;&lt;EM&gt;post&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;helps, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 09:10:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Call-rest-API-through-on-premise-gateway/m-p/4142420#M5317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-10T09:10:37Z</dc:date>
    </item>
  </channel>
</rss>

