<?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: Pipeline fails/loads  for REST API and mapping by import schema does not work in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-fails-loads-for-REST-API-and-mapping-by-import-schema/m-p/4350858#M5903</link>
    <description>&lt;P&gt;thanks will try it&lt;/P&gt;</description>
    <pubDate>Sun, 05 Jan 2025 08:08:51 GMT</pubDate>
    <dc:creator>Maz_Nah</dc:creator>
    <dc:date>2025-01-05T08:08:51Z</dc:date>
    <item>
      <title>Pipeline fails/loads  for REST API and mapping by import schema does not work</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-fails-loads-for-REST-API-and-mapping-by-import-schema/m-p/4348702#M5861</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have created a new data pipeline and using REST to get data from an open news website and the limit of 1000 is follwed in the url. The issue or the help I need is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. even though Preview URL shows the data but it does not execute successfully after changing dates 10.Dec to 15.Dec works and 15.Dec to 20.Dec does not&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Mapping never works . Upon clickig Import schema as in screenshot it fails so a unable to map the coloumn&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;REST API&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Connection&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;A href="https://api.reliefweb.int/" target="_blank" rel="noopener"&gt;https://api.reliefweb.int/&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Relative URL&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;/v1/reports?query%5Bvalue%5D=date.created%3A%5B2024-12-20+TO+2024-12-25%7D+AND+language.id%3A267&amp;amp;limit=1000&amp;amp;offset=0&amp;amp;profile=list&amp;amp;fields[include][]=body&lt;/P&gt;&lt;P&gt;Destination to a data lake house&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kinldy advice&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Maz_Nah_0-1735836188728.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1221433i6F78B348AE07F905/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Maz_Nah_0-1735836188728.png" alt="Maz_Nah_0-1735836188728.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 16:46:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-fails-loads-for-REST-API-and-mapping-by-import-schema/m-p/4348702#M5861</guid>
      <dc:creator>Maz_Nah</dc:creator>
      <dc:date>2025-01-02T16:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pipeline fails/loads  for REST API and mapping by import schema does not work</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-fails-loads-for-REST-API-and-mapping-by-import-schema/m-p/4348845#M5866</link>
      <description>&lt;P&gt;seems to work fine?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_0-1735844979654.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1221481iDC622E84BA0E07E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_0-1735844979654.png" alt="lbendlin_0-1735844979654.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What's the error message?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 19:09:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-fails-loads-for-REST-API-and-mapping-by-import-schema/m-p/4348845#M5866</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-01-02T19:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pipeline fails/loads  for REST API and mapping by import schema does not work</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-fails-loads-for-REST-API-and-mapping-by-import-schema/m-p/4348888#M5874</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;H1&gt;&lt;FONT size="2"&gt;Though it works in preview data but does not execute on run and mapping does not get the schema either&lt;/FONT&gt;&lt;/H1&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;H1&gt;&lt;FONT size="2"&gt;Error&lt;/FONT&gt;&lt;/H1&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;FONT size="2"&gt;Operation on target Pip_relief_LH failed: ErrorCode=HttpFileFailedToRead,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Failed to read data from http server. Check the error from http server：Unable to read data from the transport connection: The connection was closed.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.IO.IOException,Message=Unable to read data from the transport connection: The connection was closed.,Source=System,'&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Maz_Nah_0-1735847515395.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1221492i3A51E91821D4A98D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Maz_Nah_0-1735847515395.png" alt="Maz_Nah_0-1735847515395.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Jan 2025 19:52:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-fails-loads-for-REST-API-and-mapping-by-import-schema/m-p/4348888#M5874</guid>
      <dc:creator>Maz_Nah</dc:creator>
      <dc:date>2025-01-02T19:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pipeline fails/loads  for REST API and mapping by import schema does not work</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-fails-loads-for-REST-API-and-mapping-by-import-schema/m-p/4349868#M5892</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/904552"&gt;@Maz_Nah&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The issue occurs because, during the execution the pipeline attempts to fetch all the data for the specified date&amp;nbsp;range and the connection is closed by the server due to resource constraints or timeouts. The API limits the&amp;nbsp;data request based on the range or volume, causing the connection to be interrupted, and the pipeline fails to&amp;nbsp;handle it properly.&lt;/LI&gt;
&lt;LI&gt;The error indicates an HTTP failure, when attempting to retrieve data from the API endpoint and it suggests that the connection between the pipeline and the API server was interrupted or terminated unexpectedly, this&amp;nbsp;can be possibly due to:
&lt;UL&gt;
&lt;LI&gt;Server-side restrictions on the API.&lt;/LI&gt;
&lt;LI&gt;Network issues or timeout during the data retrieval.&lt;/LI&gt;
&lt;LI&gt;Exceeding API rate limits or query complexity&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Break down the date range into smaller intervals (for example 2–3 days) to reduce the load on the API and&amp;nbsp;avoid timeout issues.&lt;/LI&gt;
&lt;LI&gt;The Import Schema operation fails because the schema definition is not retrieved correctly from the REST API, so define a schema manually.&lt;/LI&gt;
&lt;LI&gt;Check the API documentation for rate-limiting policies and ensure your pipeline does not exceed the allowed&amp;nbsp;limits.&lt;/LI&gt;
&lt;LI&gt;Configure your HTTP dataset or REST linked service to include a &lt;STRONG&gt;timeout&lt;/STRONG&gt; and &lt;STRONG&gt;retry policy&lt;/STRONG&gt; to handle intermittent&amp;nbsp;connection issues:
&lt;UL&gt;
&lt;LI&gt;Timeout: Increase the timeout period to accommodate large data retrievals.&lt;/LI&gt;
&lt;LI&gt;Retry Policy: Set the retry count to handle temporary/transient failures.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider &lt;STRONG&gt;Accepting as solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly,&amp;nbsp;don't forget to give a "&lt;STRONG&gt;Kudos&lt;/STRONG&gt;" – I’d truly appreciate it!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2025 14:21:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-fails-loads-for-REST-API-and-mapping-by-import-schema/m-p/4349868#M5892</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-01-03T14:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Pipeline fails/loads  for REST API and mapping by import schema does not work</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-fails-loads-for-REST-API-and-mapping-by-import-schema/m-p/4350858#M5903</link>
      <description>&lt;P&gt;thanks will try it&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2025 08:08:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Pipeline-fails-loads-for-REST-API-and-mapping-by-import-schema/m-p/4350858#M5903</guid>
      <dc:creator>Maz_Nah</dc:creator>
      <dc:date>2025-01-05T08:08:51Z</dc:date>
    </item>
  </channel>
</rss>

