<?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: Failed to complete the command because the underlying location does not exist LakehouseSQL Endpo in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4592698#M7653</link>
    <description>&lt;P&gt;&lt;SPAN&gt;@Anonymous&lt;/a&gt;,&amp;nbsp; As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/913195"&gt;@nilendraFabric&lt;/a&gt;, Thanks for your promt response.&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;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Prashanth Are&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MS Fabric community support&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post helps, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly and give&amp;nbsp;&lt;STRONG&gt;Kudos&lt;/STRONG&gt;&amp;nbsp;if helped you resolve your query&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Mar 2025 10:23:08 GMT</pubDate>
    <dc:creator>v-prasare</dc:creator>
    <dc:date>2025-03-03T10:23:08Z</dc:date>
    <item>
      <title>Failed to complete the command because the underlying location does not exist LakehouseSQL Endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4588695#M7575</link>
      <description>&lt;P&gt;Our data hasn't been udpated in a week and this query that we have been running has been running successfully for a week until today. We got&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SELECT * FROM table WHERE 1=1 AND id = &amp;lt;id&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;AND date &amp;gt;= '[3 years from now]' ORDER BY updated_date&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"internalMessage" : "('42000', \"[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Failed to complete the command because the underlying location does not exist. Underlying data description: table &amp;lt;table&amp;gt;&amp;nbsp;(24596) (SQLExecDirectW)\")"&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Has anyone encountered this and know how to fix this?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 20:02:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4588695#M7575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-02-27T20:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete the command because the underlying location does not exist LakehouseSQL Endpo</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4588712#M7576</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SQL Endpoint’s metadata (table/file references) becomes temporarily out of sync with the actual Delta tables in the Lakehouse. This causes queries to reference outdated file paths (e.g., GUID-based Parquet files that no longer exist). The error code `24596` explicitly indicates this mismatch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This issue was discussed many times in the forum. Although it is never mentioned in known issues in Fabric docs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try&amp;nbsp;Manually trigger a metadata refresh on the Lakehouse via Fabric’s UI to force the SQL Endpoint to sync&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right-click Lakehouse → Refresh&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Modify your pipeline to include a retry loop with a 30–60-second wait between attempts&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;workarounds like forced refreshes and retries often resolve it. For critical systems, consider using Delta Lake directly&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if this is helpful please accept the answer&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 20:16:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4588712#M7576</guid>
      <dc:creator>nilendraFabric</dc:creator>
      <dc:date>2025-02-27T20:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete the command because the underlying location does not exist LakehouseSQL Endpo</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4588747#M7577</link>
      <description>&lt;P&gt;I've tried hitting the following buttons and it still gives me the same erorr&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-27 at 3.37.06 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1244759iFBEE0C7192A73553/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-02-27 at 3.37.06 PM.png" alt="Screenshot 2025-02-27 at 3.37.06 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-27 at 3.37.03 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1244758i73BD1FB2A709C20D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-02-27 at 3.37.03 PM.png" alt="Screenshot 2025-02-27 at 3.37.03 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 20:46:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4588747#M7577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-02-27T20:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete the command because the underlying location does not exist LakehouseSQL Endpo</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4588779#M7578</link>
      <description>&lt;P&gt;running the same query in a %%sql cell in a notebook shows me the data, just not through the sql endpoint&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 21:33:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4588779#M7578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-02-27T21:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete the command because the underlying location does not exist LakehouseSQL Endpo</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4588785#M7579</link>
      <description>&lt;P&gt;`%%sql` bypasses the SQL Endpoint and runs SparkSQL directly against the Lakehouse’s Delta tables&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Spark reads Delta transaction logs directly from `/tables`, avoiding SQL Endpoint sync delays&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now if you want to use sql. Go with this approach.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;if this issue persists raise a support ticket&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 21:42:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4588785#M7579</guid>
      <dc:creator>nilendraFabric</dc:creator>
      <dc:date>2025-02-27T21:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete the command because the underlying location does not exist LakehouseSQL Endpo</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4592698#M7653</link>
      <description>&lt;P&gt;&lt;SPAN&gt;@Anonymous&lt;/a&gt;,&amp;nbsp; As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/913195"&gt;@nilendraFabric&lt;/a&gt;, Thanks for your promt response.&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;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Prashanth Are&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MS Fabric community support&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post helps, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly and give&amp;nbsp;&lt;STRONG&gt;Kudos&lt;/STRONG&gt;&amp;nbsp;if helped you resolve your query&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 10:23:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4592698#M7653</guid>
      <dc:creator>v-prasare</dc:creator>
      <dc:date>2025-03-03T10:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete the command because the underlying location does not exist LakehouseSQL Endpo</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4604042#M7819</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;,&amp;nbsp;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?&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;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Prashanth Are&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MS Fabric community support&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post helps, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly and give&amp;nbsp;&lt;STRONG&gt;Kudos&lt;/STRONG&gt;&amp;nbsp;if helped you resolve your query&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 21:47:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4604042#M7819</guid>
      <dc:creator>v-prasare</dc:creator>
      <dc:date>2025-03-10T21:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete the command because the underlying location does not exist LakehouseSQL Endpo</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4612503#M7978</link>
      <description>&lt;P&gt;&lt;SPAN&gt;@Anonymous&lt;/a&gt;&amp;nbsp;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if issue still persists i suggest you to raise a support ticket here. so, that they can assit you in addressing the issue you are facing. please follow below link on how to raise a support ticket:&lt;/P&gt;
&lt;P&gt;&lt;A class="" title="https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket" href="https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket" target="_blank" rel="noreferrer noopener nofollow" aria-label="Link How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn"&gt;How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn&lt;/A&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&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Prashanth Are&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;MS Fabric community support&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post helps, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly and give&amp;nbsp;&lt;STRONG&gt;Kudos&lt;/STRONG&gt;&amp;nbsp;if helped you resolve your query&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 09:25:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4612503#M7978</guid>
      <dc:creator>v-prasare</dc:creator>
      <dc:date>2025-03-17T09:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete the command because the underlying location does not exist LakehouseSQL Endpo</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4788528#M11517</link>
      <description>&lt;P&gt;@Anonymous&lt;/a&gt;&amp;nbsp;did you manage to solve this issue?&lt;/P&gt;&lt;P&gt;I also tried the refresh buttons but it did not fix it&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/913195"&gt;@nilendraFabric&lt;/a&gt;&amp;nbsp;any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 07:05:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Failed-to-complete-the-command-because-the-underlying-location/m-p/4788528#M11517</guid>
      <dc:creator>Lanceometer</dc:creator>
      <dc:date>2025-08-06T07:05:53Z</dc:date>
    </item>
  </channel>
</rss>

