<?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: Refresh SQL Endpoint using semantic link labs: Intermittent failures in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4760063#M10822</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/415601"&gt;@alfBI&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for response.&amp;nbsp; As you mentioned in your previous response, the notebook execution is success. You want to check the issue again by adding a time activity before the refresh. Once done your testing.&amp;nbsp; Please do let us know if you have any further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jul 2025 11:44:40 GMT</pubDate>
    <dc:creator>v-dineshya</dc:creator>
    <dc:date>2025-07-11T11:44:40Z</dc:date>
    <item>
      <title>Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4758553#M10796</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently we saw that MS has released&amp;nbsp;&lt;A class="" href="https://learn.microsoft.com/en-us/rest/api/fabric/sqlendpoint/items/refresh-sql-endpoint-metadata?tabs=HTTP" target="_blank" rel="noopener nofollow ugc"&gt;Items - Refresh Sql Endpoint Metadata - REST API (SQLEndpoint) | Microsoft Learn&lt;/A&gt;&amp;nbsp;as well its corresponding implementation on the semantic-labs library&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/microsoft/semantic-link-labs/wiki/Code-Examples#refresh-sql-endpoint-metadata" target="_blank" rel="noopener"&gt;https://github.com/microsoft/semantic-link-labs/wiki/Code-Examples#refresh-sql-endpoint-metadata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have preferred to choose the implementation of the semantic-labs because its simplicity but after managing all the problems related with the libraries (they have to be include on a fabric environment ion order to allow the notebook be used on a pipeline) we notice that the notebook execution fails intermittebntly with following error message&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notebook execution failed at Notebook service with http status code - '200', please check the Run logs on Notebook, additional details&lt;BR /&gt;- 'Error name - KeyError, Error value - "['Table Name', 'Status', 'Start Time', 'End Time', 'Last Successful Sync Time'] not in index"' :&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="alfBI_0-1752131739513.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1282131iB98786D116094894/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alfBI_0-1752131739513.png" alt="alfBI_0-1752131739513.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;The Run logs of notebook does not give so much detail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea about what is going wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alfons&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 07:17:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4758553#M10796</guid>
      <dc:creator>alfBI</dc:creator>
      <dc:date>2025-07-10T07:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4758779#M10803</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/415601"&gt;@alfBI&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to the Microsoft Community Forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message " KeyError, Error value - "['Table Name', 'Status', 'Start Time', 'End Time', 'Last Successful Sync Time'] not in index"'",&amp;nbsp; This typically indicates that the notebook is trying to access columns in a DataFrame that don’t exist, because the Lakehouse is empty or the SQL Endpoint metadata has not been initialized properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check below things to fix the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; Before accessing columns in the notebook, check if the DataFrame contains the expected columns. Please refer below sample python script.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;expected_cols = ['Table Name', 'Status', 'Start Time', 'End Time', 'Last Successful Sync Time']&lt;BR /&gt;if all(col in df.columns for col in expected_cols):&lt;BR /&gt;df = df[expected_cols]&lt;BR /&gt;else:&lt;BR /&gt;print("Expected columns not found. DataFrame is likely empty.")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Check that the Lakehouse has at least one table or object before triggering the SQL Endpoint refresh. An empty Lakehouse will cause the API to return an empty response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Place the notebook execution in a try-except block and log errors to help with debugging. Please refer sample python code in try-except block.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try:&lt;BR /&gt;# notebook execution logic&lt;BR /&gt;except KeyError as e:&lt;BR /&gt;print(f"KeyError encountered: {e}")&lt;BR /&gt;# optionally skip or retry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information helps. Please do let us know if you have any further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 10:19:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4758779#M10803</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-07-10T10:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4759353#M10808</link>
      <description>&lt;P&gt;HI v-dineshya,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using semantic labs link the notebook code is extremely simple&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#%pip install semantic-link-labs&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Welcome to your new notebook&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# Type here in the cell editor to add code!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; sempy_labs &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;labs&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;item&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'Stage'&lt;/SPAN&gt; &lt;SPAN&gt;# Enter the name or ID of the Fabric item&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'Lakehouse'&lt;/SPAN&gt; &lt;SPAN&gt;# Enter the item type&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'a0ad263f-c689-480b-bcd2-cc1a5cc9169f'&lt;/SPAN&gt; &lt;SPAN&gt;# Enter the name or ID of the workspace&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Example 1: Refresh the metadata of all tables&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;None&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;labs&lt;/SPAN&gt;&lt;SPAN&gt;.refresh_sql_endpoint_metadata(&lt;/SPAN&gt;&lt;SPAN&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;display&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;honestly I have no idea about how to apply your workaround here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 20:33:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4759353#M10808</guid>
      <dc:creator>alfBI</dc:creator>
      <dc:date>2025-07-10T20:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4759615#M10811</link>
      <description>&lt;P&gt;I missed to add that what is curious is that If I open a failed execution&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alfBI_0-1752213700550.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1282371i58809C632702E168/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alfBI_0-1752213700550.png" alt="alfBI_0-1752213700550.png" /&gt;&lt;/span&gt;&lt;BR /&gt;and I rerun from the failed refresh&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="alfBI_1-1752213735662.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1282372i58FEC8DA2527EC5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alfBI_1-1752213735662.png" alt="alfBI_1-1752213735662.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;it works, so it looks like just after the ingestion of tables on lakehouse the API needs some time to notice that lakehouse has tables. I will try again addind a time activity (30 seconds) in front of the refresh&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, 11 Jul 2025 06:04:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4759615#M10811</guid>
      <dc:creator>alfBI</dc:creator>
      <dc:date>2025-07-11T06:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4760063#M10822</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/415601"&gt;@alfBI&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for response.&amp;nbsp; As you mentioned in your previous response, the notebook execution is success. You want to check the issue again by adding a time activity before the refresh. Once done your testing.&amp;nbsp; Please do let us know if you have any further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 11:44:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4760063#M10822</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-07-11T11:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4761126#M10851</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add the time delay did not make any difference. It's quite clear that for some reasons call to API that manage trhe refresh of the SQL Endpoint fails but no idea why.&amp;nbsp;&lt;BR /&gt;I have tested that scheduling the notebook to run at different times, sometimes works fine others not&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="alfBI_0-1752424170125.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1282713i5AB693A06692FEF8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alfBI_0-1752424170125.png" alt="alfBI_0-1752424170125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Success execution\\&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alfBI_1-1752424209838.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1282714iD88FEE0E1ECEB86B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alfBI_1-1752424209838.png" alt="alfBI_1-1752424209838.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;Failed execution&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="alfBI_2-1752424260844.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1282715i038322B24682C0E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alfBI_2-1752424260844.png" alt="alfBI_2-1752424260844.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="alfBI_3-1752424369502.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1282716i439860F8E921B5E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alfBI_3-1752424369502.png" alt="alfBI_3-1752424369502.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="alfBI_4-1752424381417.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1282717iC46B106CF3A02DC6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alfBI_4-1752424381417.png" alt="alfBI_4-1752424381417.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I am not able to undertand what make the difference to make it fail. Same lakehouse, same tables,....&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;Alfons&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jul 2025 16:33:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4761126#M10851</guid>
      <dc:creator>alfBI</dc:creator>
      <dc:date>2025-07-13T16:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4762248#M10889</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/415601"&gt;@alfBI&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to the Microsoft Community Forum.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The intermittent failures when using the refresh_sql_endpoint_metadata function from the semantic-link-labs library in Microsoft Fabric, particularly encountering a KeyError related to missing DataFrame columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer below workarounds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Validate DataFrame Columns Before Access. Add a check before accessing the columns&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;expected_cols = ['Table Name', 'Status', 'Start Time', 'End Time', 'Last Successful Time']&lt;BR /&gt;if all(col in x.columns for col in expected_cols):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; display(x[expected_cols])&lt;BR /&gt;else:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print("Expected columns not found. DataFrame is likely empty.")&lt;BR /&gt;expected_cols = ['Table Name', 'Status', 'Start Time', 'End Time', 'Last Successful Sync&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: This prevents the notebook from failing when the DataFrame is empty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Make sure at least one table exists in the Lakehouse before triggering the refresh. You can add a pre-check using the semantic-link-labs API to list tables and confirm presence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Wrap the refresh logic in a try-except block&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;try:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = labs.refresh_sql_endpoint_metadata(item=item, type=type, workspace=workspace, tables=tables)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; display(x)&lt;BR /&gt;except KeyError as e:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(f"KeyError encountered: {e}")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: This helps log errors and optionally retry or skip execution&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. If you are using a multi-step ETL/ELT pipeline, consider forcing a sync of the T-SQL endpoint using Semantic link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information helps. Please do let us know if you have any further queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 13:25:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4762248#M10889</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-07-14T13:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4764701#M10944</link>
      <description>&lt;P&gt;Final Solution was to get rid of semantic labs approach and use directl ythe api as shown here&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://gist.github.com/MarkPryceMaherMSFT/e55a12c4955e624aeb3b33b183c356e9" target="_blank"&gt;Example code using the new fabric rest api · GitHub&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 06:36:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4764701#M10944</guid>
      <dc:creator>alfBI</dc:creator>
      <dc:date>2025-07-16T06:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4789007#M11541</link>
      <description>&lt;P&gt;This issue was reported to the semantic-link-labs package maintainers mid-June:&amp;nbsp;&lt;A href="https://github.com/microsoft/semantic-link-labs/issues/719" target="_blank" rel="noopener"&gt;SQL endpoint refresh fails on empty lakehouse · Issue #719 · microsoft/semantic-link-labs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the fix was published in release 0.11.0 of the SLL package:&amp;nbsp;&lt;A href="https://github.com/microsoft/semantic-link-labs/releases/tag/0.11.0" target="_blank" rel="noopener"&gt;Release semantic-link-labs 0.11.0 · microsoft/semantic-link-labs · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't verified yet but upgrading to use at least this version should resolve the problem, i.e.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;!pip install semantic-link-labs&amp;gt;=0.11.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Aug 2025 13:23:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4789007#M11541</guid>
      <dc:creator>SJCuthbertson</dc:creator>
      <dc:date>2025-08-06T13:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4825888#M12332</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have tried to apply the fix you suggested using the version later than 11.0 but problems remains. Again the call to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;labs&lt;/SPAN&gt;&lt;SPAN&gt;.refresh_sql_endpoint_metadata(&lt;/SPAN&gt;&lt;SPAN&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;artifact_name&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;artifact_type&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;seems to work intermittently. If I ran the notebook manually seems fine but on the schedule execution following errror is raised:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;---&amp;gt; 17 x = labs.refresh_sql_endpoint_metadata(item=artifact_name, type=artifact_type, workspace=workspace, tables=tables) 18 display(x) File ~/jupyter-env/python3.11/lib/python3.11/site-packages/sempy/_utils/_log.py:371, in mds_log.&amp;lt;locals&amp;gt;.get_wrapper.&amp;lt;locals&amp;gt;.log_decorator_wrapper(*args, **kwargs) 368 start_time = time.perf_counter() 370 try: --&amp;gt; 371 result = func(*args, **kwargs) 373 # The invocation for get_message_dict moves after the function 374 # so it can access the state after the method call 375 message.update(extractor.get_completion_message_dict(result, arg_dict)) File ~/jupyter-env/python3.11/lib/python3.11/site-packages/sempy_labs/_sql_endpoints.py:144, in refresh_sql_endpoint_metadata(item, type, workspace, tables) 136 if tables: 137 payload = { 138 "tableDefinitions": [ 139 {"schema": schema, "tableNames": tables} 140 for schema, tables in tables.items() 141 ] 142 } --&amp;gt; 144 result = _base_api( 145 request=f"v1/workspaces/{workspace_id}/sqlEndpoints/{sql_endpoint_id}/refreshMetadata", 146 method="post", 147 client="fabric_sp", 148 status_codes=[200, 202], 149 lro_return_json=True, 150 payload=payload, 151 ) 153 columns = { 154 "Table Name": "string", 155 "Status": "string", (...) 160 "Error Message": "string", 161 } 163 if result: File ~/jupyter-env/python3.11/lib/python3.11/site-packages/sempy_labs/_helper_functions.py:2249, in _base_api(request, client, method, payload, status_codes, uses_pagination, lro_return_json, lro_return_status_code) 2241 response = requests.request( 2242 method.upper(), 2243 url, 2244 headers=headers, 2245 json=payload, 2246 ) 2248 if lro_return_json: -&amp;gt; 2249 return lro(c, response, status_codes).json() 2250 elif lro_return_status_code: 2251 return lro(c, response, status_codes, return_status_code=True) File ~/jupyter-env/python3.11/lib/python3.11/site-packages/sempy_labs/_helper_functions.py:1592, in lro(client, response, status_codes, sleep_time, return_status_code) 1590 result = response.status_code 1591 else: -&amp;gt; 1592 response = client.get(f"/v1/operations/{operationId}/result") 1593 result = response 1595 return result File ~/jupyter-env/python3.11/lib/python3.11/site-packages/sempy/fabric/_client/_rest_client.py:188, in BaseRestClient.get(self, path_or_url, *args, **kwargs) 169 def get(self, path_or_url: str, *args, **kwargs): 170 """ 171 GET request to the Fabric and PowerBI REST API. 172 (...) 186 The response from the REST API. 187 """ --&amp;gt; 188 return self.request("GET", path_or_url, *args, **kwargs) File ~/jupyter-env/python3.11/lib/python3.11/site-packages/sempy/fabric/_client/_rest_client.py:429, in FabricRestClient.request(self, method, path_or_url, lro_wait, lro_max_attempts, lro_operation_name, *args, **kwargs) 396 def request(self, 397 method: str, 398 path_or_url: str, (...) 402 *args, 403 **kwargs): 404 """ 405 Request to the Fabric REST API. 406 (...) 427 The response from the REST API. 428 """ --&amp;gt; 429 response = super().request(method, path_or_url, *args, **kwargs) 431 if not lro_wait or response.status_code != 202: 432 return response File ~/jupyter-env/python3.11/lib/python3.11/site-packages/sempy/fabric/_client/_rest_client.py:167, in BaseRestClient.request(self, method, path_or_url, *args, **kwargs) 164 kwargs["url"] = url 165 kwargs["headers"] = headers --&amp;gt; 167 return self.http.request(method, *args, **kwargs) File ~/jupyter-env/python3.11/lib/python3.11/site-packages/requests/sessions.py:589, in Session.request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json) 584 send_kwargs = { 585 "timeout": timeout, 586 "allow_redirects": allow_redirects, 587 } 588 send_kwargs.update(settings) --&amp;gt; 589 resp = self.send(prep, **send_kwargs) 591 return resp File ~/jupyter-env/python3.11/lib/python3.11/site-packages/requests/sessions.py:710, in Session.send(self, request, **kwargs) 707 r.elapsed = timedelta(seconds=elapsed) 709 # Response manipulation hooks --&amp;gt; 710 r = dispatch_hook("response", hooks, r, **kwargs) 712 # Persist cookies 713 if r.history: 714 # If the hooks create history then we want those cookies too File ~/jupyter-env/python3.11/lib/python3.11/site-packages/requests/hooks.py:30, in dispatch_hook(key, hooks, hook_data, **kwargs) 28 hooks = [hooks] 29 for hook in hooks: ---&amp;gt; 30 _hook_data = hook(hook_data, **kwargs) 31 if _hook_data is not None: 32 hook_data = _hook_data File ~/jupyter-env/python3.11/lib/python3.11/site-packages/sempy/_utils/_log.py:371, in mds_log.&amp;lt;locals&amp;gt;.get_wrapper.&amp;lt;locals&amp;gt;.log_decorator_wrapper(*args, **kwargs) 368 start_time = time.perf_counter() 370 try: --&amp;gt; 371 result = func(*args, **kwargs) 373 # The invocation for get_message_dict moves after the function 374 # so it can access the state after the method call 375 message.update(extractor.get_completion_message_dict(result, arg_dict)) File ~/jupyter-env/python3.11/lib/python3.11/site-packages/sempy/fabric/_client/_rest_client.py:105, in BaseRestClient.__init__.&amp;lt;locals&amp;gt;.validate_rest_response(response, *args, **kwargs) 102 @log_rest_response 103 def validate_rest_response(response, *args, **kwargs): 104 if response.status_code &amp;gt;= 400: --&amp;gt; 105 raise FabricHTTPException(response) FabricHTTPException: 400 Bad Request for url: &lt;/SPAN&gt;&lt;A href="https://api.fabric.microsoft.com//v1/operations/09343336-2bab-430b-8deb-5bda3c915a0e/result" target="_blank" rel="noopener"&gt;https://api.fabric.microsoft.com//v1/operations/09343336-2bab-430b-8deb-5bda3c915a0e/result&lt;/A&gt;&lt;SPAN&gt; Error: {"requestId":"ffc1dc36-d14c-4245-9f5e-9dc8ebb2687a","errorCode":"OperationHasNoResult","message":"The operation has no result"} Headers: {'Cache-Control': 'no-store, must-revalidate, no-cache', 'Pragma': 'no-cache', 'Transfer-Encoding': 'chunked', 'Content-Type': 'application/json; charset=utf-8', 'x-ms-public-api-error-code': 'OperationHasNoResult', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'X-Frame-Options': 'deny', 'X-Content-Type-Options': 'nosniff', 'RequestId': 'ffc1dc36-d14c-4245-9f5e-9dc8ebb2687a', 'Access-Control-Expose-Headers': 'RequestId', 'request-redirected': 'true', 'home-cluster-uri': '&lt;A href="https://wabi-west-europe-b-primary-redirect.analysis.windows.net/" target="_blank"&gt;https://wabi-west-europe-b-primary-redirect.analysis.windows.net/&lt;/A&gt;', 'Date': 'Mon, 15 Sep 2025 03:21:49 GMT'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any idea abotu what is wrong? Seems extremely difficult to use this&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 06:38:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4825888#M12332</guid>
      <dc:creator>alfBI</dc:creator>
      <dc:date>2025-09-15T06:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4826528#M12341</link>
      <description>&lt;P class="" data-start="411" data-end="613"&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/415601"&gt;@alfBI&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="" data-start="411" data-end="613"&gt;&lt;SPAN&gt;It appears this issue might require deeper investigation from the Power BI support team.&amp;nbsp;&lt;/SPAN&gt;I recommend opening a Microsoft support ticket so they can trace the issue.&lt;/P&gt;
&lt;P&gt;To raise a support ticket for Fabric and Power BI, kindly follow the steps outlined in the following guide:&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;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 14:26:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4826528#M12341</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-09-15T14:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4826532#M12342</link>
      <description>&lt;P&gt;Well, we have done something similar by creating a bug here&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/microsoft/semantic-link-labs/issues" target="_blank"&gt;Issues · microsoft/semantic-link-labs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alfons&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 14:28:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4826532#M12342</guid>
      <dc:creator>alfBI</dc:creator>
      <dc:date>2025-09-15T14:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4827588#M12361</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/415601"&gt;@alfBI&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for the update. Once you got update from Microsoft issues forum. Please keep us posted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Tue, 16 Sep 2025 14:21:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4827588#M12361</guid>
      <dc:creator>v-dineshya</dc:creator>
      <dc:date>2025-09-16T14:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4828253#M12380</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There was a bug fixed on latest release&amp;nbsp;&amp;nbsp;0.12.3&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Ensure to use this version and new requested parameters (time out, and time unit)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sample call&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;x = labs.refresh_sql_endpoint_metadata(item='XXXX', type='Lakehouse', workspace='XXXX', timeout_unit='Seconds',timeout_value='60')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If someone is interested to know how the issue evolves check this thread&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/microsoft/semantic-link-labs/issues/870#issuecomment-3301567878" target="_blank"&gt;https://github.com/microsoft/semantic-link-labs/issues/870#issuecomment-3301567878&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 09:27:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4828253#M12380</guid>
      <dc:creator>alfBI</dc:creator>
      <dc:date>2025-09-17T09:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4829691#M12416</link>
      <description>&lt;P&gt;This error that you've pasted here, and raised via sempy-labs GitHub as issue #870, is&amp;nbsp;&lt;STRONG&gt;completely unrelated&lt;/STRONG&gt; to the error that you originally started this community forum discussion with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The original one was a KeyError, to do with what tables you were refreshing or what tables exist in the lakehouse.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one is a&amp;nbsp;&lt;SPAN&gt;FabricHTTPException from a totally different part of the code. They're not related.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm not sure of the underlying cause of these intermittent&amp;nbsp;FabricHTTPException errors (github #870) and I'm not at all sure if it's a problem in sempy-labs. I think more likely it's a problem in the API itself, but let's wait for v0.12.4 of sempy-labs to get the complete fix that Michael has started there.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a Fabric support case open with Microsoft about this too and I would recommend you do the same, because more support cases will mean more attention.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 11:54:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4829691#M12416</guid>
      <dc:creator>SJCuthbertson</dc:creator>
      <dc:date>2025-09-18T11:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SQL Endpoint using semantic link labs: Intermittent failures</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4829731#M12419</link>
      <description>&lt;P&gt;Yes, the original topic of the problem was related with the change of the parameters supported by the API and as a result by sempy labs&amp;nbsp; (the table parameter was not longer supported). This problem was fixed in latest release 12.3. As well you said this fix not has definitely solved the problem of refreshing the sql endpoint as an HTTP exception is triggered (we noticed also this problem before 12.3). Let's see if the problem relies on sempy or the API (in this later case I agree with you about to create a Fabric ticket).&amp;nbsp; Thx for the clarification for future post readers.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 12:27:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Refresh-SQL-Endpoint-using-semantic-link-labs-Intermittent/m-p/4829731#M12419</guid>
      <dc:creator>alfBI</dc:creator>
      <dc:date>2025-09-18T12:27:48Z</dc:date>
    </item>
  </channel>
</rss>

