<?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: API Power Query in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4812719#M62906</link>
    <description>&lt;P&gt;Hey &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/406332"&gt;@Rookie_2022&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for sharing the updates. Since Postman works fine but Power Query is still timing out, it might be more of a connectivity or header handling issue inside Power BI. A couple of quick checks you could try:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Make sure "Consumer-Key" is quoted exactly in the headers.&lt;/LI&gt;
&lt;LI&gt;Pass the query parameters under Query = [...] instead of as a separate record.&lt;/LI&gt;
&lt;LI&gt;Try adding a longer timeout with Timeout = #duration(0,0,3,0).&lt;/LI&gt;
&lt;LI&gt;If possible, test the same URL (with parameters) directly in a browser or using curl that will confirm whether the timeout only happens in Power Query.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Did you get a chance to try calling the API outside Postman (like in a browser)? That would help narrow down if the issue is with the API itself or just how Power Query is handling it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Akhil.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Sep 2025 03:52:10 GMT</pubDate>
    <dc:creator>v-agajavelly</dc:creator>
    <dc:date>2025-09-01T03:52:10Z</dc:date>
    <item>
      <title>API Power Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811295#M62895</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used Postman to run a query wiht Consumer Key in Postman, it works and gives correct result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I used the same parameters and Consumer-Key, and used below m query to get the result, the query has been loading long and timed out eventually. Anyone could help? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rookie_2022_1-1756456043380.png" style="width: 512px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1294444i97057F8DAA82F1DF/image-dimensions/512x306?v=v2" width="512" height="306" role="button" title="Rookie_2022_1-1756456043380.png" alt="Rookie_2022_1-1756456043380.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rookie_2022_2-1756456266204.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1294448iA628E2EEF50B8844/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rookie_2022_2-1756456266204.png" alt="Rookie_2022_2-1756456266204.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 08:32:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811295#M62895</guid>
      <dc:creator>Rookie_2022</dc:creator>
      <dc:date>2025-08-29T08:32:12Z</dc:date>
    </item>
    <item>
      <title>API Power Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811343#M62898</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used Postman to run a query wiht Consumer Key in Postman, it works and gives correct result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I used the same parameters and Consumer-Key, and used below m query to get the result, the query has been loading long and timed out eventually. Anyone could help? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rookie_2022_0-1756458579439.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1294458i0BD2D6648E025ABE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rookie_2022_0-1756458579439.png" alt="Rookie_2022_0-1756458579439.png" /&gt;&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rookie_2022_1-1756458579749.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1294457iE1B05A3CDB5E5CBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rookie_2022_1-1756458579749.png" alt="Rookie_2022_1-1756458579749.png" /&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 09:10:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811343#M62898</guid>
      <dc:creator>Rookie_2022</dc:creator>
      <dc:date>2025-08-29T09:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: API Power Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811351#M62899</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/406332"&gt;@Rookie_2022&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try restructuring your query like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;let&lt;BR /&gt;url = "&lt;A href="https://api.maersk.com/products/ocean-products" target="_blank"&gt;https://api.maersk.com/products/ocean-products&lt;/A&gt;",&lt;BR /&gt;response = Web.Contents(&lt;BR /&gt;url,&lt;BR /&gt;[&lt;BR /&gt;Query = [&lt;BR /&gt;vesselOperatorCarrierCode = "MAEU",&lt;BR /&gt;collectionOriginCountryCode = "US",&lt;BR /&gt;collectionOriginCityName = "Houston",&lt;BR /&gt;collectionOriginUnlocCode = "USHOU",&lt;BR /&gt;deliveryDestinationCountryCode = "NL",&lt;BR /&gt;deliveryDestinationCityName = "Rotterdam"&lt;BR /&gt;],&lt;BR /&gt;Headers = [&lt;BR /&gt;#"Content-Type" = "application/json",&lt;BR /&gt;#"Consumer-Key" = "your-key-here"&lt;BR /&gt;]&lt;BR /&gt;]&lt;BR /&gt;),&lt;BR /&gt;json = Json.Document(response)&lt;BR /&gt;in&lt;BR /&gt;json&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead of&amp;nbsp;query = "..."&amp;nbsp;you should pass query params inside the &lt;CODE data-start="1453" data-end="1460"&gt;Query&lt;/CODE&gt; option of &lt;CODE data-start="1471" data-end="1485"&gt;Web.Contents&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;Your header keys must be &lt;STRONG data-start="1516" data-end="1536"&gt;quoted correctly&lt;/STRONG&gt; (e.g. &lt;CODE data-start="1543" data-end="1560"&gt;#"Consumer-Key"&lt;/CODE&gt;).&lt;/P&gt;
&lt;P&gt;If the API &lt;STRONG data-start="1578" data-end="1595"&gt;requires POST&lt;/STRONG&gt;, you’d need to use &lt;CODE data-start="1615" data-end="1645"&gt;Content = Text.ToBinary(...)&lt;/CODE&gt; instead of &lt;CODE data-start="1657" data-end="1664"&gt;Query&lt;/CODE&gt;. (But from your Postman screenshot, it looks like GET).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; I hope this solution helps you unlock your Power BI potential! If you found it helpful, click '&lt;STRONG&gt;Mark as Solution&lt;/STRONG&gt;' to guide others toward the answers they need.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":military_medal:"&gt;🎖&lt;/span&gt; As a proud &lt;STRONG&gt;SuperUser&lt;/STRONG&gt; and &lt;STRONG&gt;Microsoft Partner&lt;/STRONG&gt;, we’re here to empower your data journey and the Power BI Community at large.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; Curious to explore more? [&lt;A href="https://www.grazitti.com/services/data-science/solutions/data-visualization/?utm_source=community&amp;amp;utm_medium=powerbi-community&amp;amp;utm_campaign=Community-Outreach-By-Analytics" target="_self"&gt;Discover here&lt;/A&gt;].&lt;BR /&gt;&lt;STRONG&gt;Let’s keep building smarter solutions together!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 09:17:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811351#M62899</guid>
      <dc:creator>grazitti_sapna</dc:creator>
      <dc:date>2025-08-29T09:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: API Power Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811356#M62900</link>
      <description>&lt;P&gt;Your Power Query is timing out because it’s likely missing the "Method = "POST" declaration. Power Query defaults to GET unless told otherwise. Add this inside your Web.Contents call:&lt;BR /&gt;Method = "POST"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also make sure:&lt;BR /&gt;- Headers are correctly formatted ("Content-Type" and "Consumer-Key")&lt;BR /&gt;- Body is converted with Text.ToBinary(Json.FromValue(body))&lt;BR /&gt;- You can optionally extend timeout with Timeout = #duration(0,0,3,0)&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 09:22:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811356#M62900</guid>
      <dc:creator>Shahid12523</dc:creator>
      <dc:date>2025-08-29T09:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: API Power Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811453#M62901</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/546935"&gt;@grazitti_sapna&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Method is GET. I just copied your code and replace the Consumer Key with my key. However it still timeout as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rookie_2022_1-1756462169420.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1294481i8673E9A0674B7F60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rookie_2022_1-1756462169420.png" alt="Rookie_2022_1-1756462169420.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 10:09:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811453#M62901</guid>
      <dc:creator>Rookie_2022</dc:creator>
      <dc:date>2025-08-29T10:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: API Power Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811455#M62902</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1265350"&gt;@Shahid12523&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Method = GET.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help advise if I should use other codes? Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 10:10:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4811455#M62902</guid>
      <dc:creator>Rookie_2022</dc:creator>
      <dc:date>2025-08-29T10:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: API Power Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4812719#M62906</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/406332"&gt;@Rookie_2022&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for sharing the updates. Since Postman works fine but Power Query is still timing out, it might be more of a connectivity or header handling issue inside Power BI. A couple of quick checks you could try:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Make sure "Consumer-Key" is quoted exactly in the headers.&lt;/LI&gt;
&lt;LI&gt;Pass the query parameters under Query = [...] instead of as a separate record.&lt;/LI&gt;
&lt;LI&gt;Try adding a longer timeout with Timeout = #duration(0,0,3,0).&lt;/LI&gt;
&lt;LI&gt;If possible, test the same URL (with parameters) directly in a browser or using curl that will confirm whether the timeout only happens in Power Query.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Did you get a chance to try calling the API outside Postman (like in a browser)? That would help narrow down if the issue is with the API itself or just how Power Query is handling it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Akhil.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 03:52:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4812719#M62906</guid>
      <dc:creator>v-agajavelly</dc:creator>
      <dc:date>2025-09-01T03:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: API Power Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4816565#M62968</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/406332"&gt;@Rookie_2022&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Did you get a chance to try calling the API outside Postman like in a browser or with curl as suggested? That should help confirm whether the timeout is specific to Power Query or more on the API side.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Akhil.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 09:09:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4816565#M62968</guid>
      <dc:creator>v-agajavelly</dc:creator>
      <dc:date>2025-09-04T09:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: API Power Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4822296#M63062</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/406332"&gt;@Rookie_2022&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Just checking back were you able to test the API outside of Postman (like in a browser or with curl) as suggested? Knowing the outcome there will really help narrow down if the timeout is on the Power Query side or with the API itself.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Akhil.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 10:24:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4822296#M63062</guid>
      <dc:creator>v-agajavelly</dc:creator>
      <dc:date>2025-09-10T10:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: API Power Query</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4829031#M63127</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/406332"&gt;@Rookie_2022&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I hope the response provided helped in resolving the issue. If you still have any questions, please let us know we are happy to address.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Akhil.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 02:45:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-Power-Query/m-p/4829031#M63127</guid>
      <dc:creator>v-agajavelly</dc:creator>
      <dc:date>2025-09-18T02:45:49Z</dc:date>
    </item>
  </channel>
</rss>

