<?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 system.ai.python_exec suddenly failing with UNRESOLVED_ROUTINE on Azure (West US) since May 27 ~4pm in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/system-ai-python-exec-suddenly-failing-with-unresolved-routine/m-p/157938#M2851</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're hitting a sudden failure with Databrick's built-in python sandbox&amp;nbsp;system.ai.python_exec function and want to check whether others are seeing the same thing, since it looks region-specific.&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Cloud: Azure Databricks&lt;/LI&gt;&lt;LI&gt;Region: West US&lt;/LI&gt;&lt;LI&gt;Both interactive notebooks and serverless&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This was working reliably until Wednesday, May 27 at ~4:00 PM EST. Immediately after that, calls to system.ai.python_exec began failing. Nothing changed on our side. No permission edits, no code changes, no runtime upgrade.&lt;BR /&gt;&lt;BR /&gt;Error:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{"ts": "2026-05-29 17:30:20.716", "level": "ERROR", "logger": "pyspark.sql.connect.logging", "msg": "GRPC Error received", "context": {}, "exception": {"class": "_MultiThreadedRendezvous", "msg": "&amp;lt;_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.INTERNAL
details = "[UNRESOLVED_ROUTINE] Cannot resolve routine `system`.`ai`.`python_exec` on search path [`system`.`session`, `system`.`builtin`, `system`.`ai`, `system`.`default`].
Verify the spelling of `system`.`ai`.`python_exec`, check that the routine exists, and confirm you have `USE` privilege on the catalog and schema, and EXECUTE on the routine.&lt;/LI-CODE&gt;&lt;P&gt;You can see that system.ai&amp;nbsp;is in the search path shown in the error, so the resolver is looking in the right place, it just can't find the routine.&lt;/P&gt;&lt;P class=""&gt;What we've already verified:&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;USE on the system catalog and ai schema, and EXECUTE on the routine, all permissions are intact and unchanged.&lt;/LI&gt;&lt;LI&gt;The fully qualified name system.ai.python_exec is correct (no typo, no missing qualifier).&lt;/LI&gt;&lt;LI&gt;No change on our end coincided with the failure time.&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Workaround that works for us:&lt;BR /&gt;Recreating the same python_exec function in a &lt;STRONG&gt;non-system catalog&lt;/STRONG&gt; and calling it there works fine in the &lt;EM&gt;same&lt;/EM&gt; region. So the underlying compute/execution path is healthy. The issue appears specific to resolving/executing the built-in copy under system.ai.&lt;/P&gt;&lt;P class=""&gt;Question for the community / Databricks&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;Is anyone else seeing system.ai.python_exec fail to resolve on Azure West US (or other regions), across notebooks and serverless?&lt;/LI&gt;&lt;LI&gt;Is this a known regional issue or a recent change to the system.ai schema?&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Any confirmation or pointers appreciated. Happy to share more details with Databricks staff if helpful.&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2026 21:40:31 GMT</pubDate>
    <dc:creator>sundarep_cav</dc:creator>
    <dc:date>2026-05-29T21:40:31Z</dc:date>
    <item>
      <title>system.ai.python_exec suddenly failing with UNRESOLVED_ROUTINE on Azure (West US) since May 27 ~4pm</title>
      <link>https://community.databricks.com/t5/data-governance/system-ai-python-exec-suddenly-failing-with-unresolved-routine/m-p/157938#M2851</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're hitting a sudden failure with Databrick's built-in python sandbox&amp;nbsp;system.ai.python_exec function and want to check whether others are seeing the same thing, since it looks region-specific.&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Cloud: Azure Databricks&lt;/LI&gt;&lt;LI&gt;Region: West US&lt;/LI&gt;&lt;LI&gt;Both interactive notebooks and serverless&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This was working reliably until Wednesday, May 27 at ~4:00 PM EST. Immediately after that, calls to system.ai.python_exec began failing. Nothing changed on our side. No permission edits, no code changes, no runtime upgrade.&lt;BR /&gt;&lt;BR /&gt;Error:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{"ts": "2026-05-29 17:30:20.716", "level": "ERROR", "logger": "pyspark.sql.connect.logging", "msg": "GRPC Error received", "context": {}, "exception": {"class": "_MultiThreadedRendezvous", "msg": "&amp;lt;_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.INTERNAL
details = "[UNRESOLVED_ROUTINE] Cannot resolve routine `system`.`ai`.`python_exec` on search path [`system`.`session`, `system`.`builtin`, `system`.`ai`, `system`.`default`].
Verify the spelling of `system`.`ai`.`python_exec`, check that the routine exists, and confirm you have `USE` privilege on the catalog and schema, and EXECUTE on the routine.&lt;/LI-CODE&gt;&lt;P&gt;You can see that system.ai&amp;nbsp;is in the search path shown in the error, so the resolver is looking in the right place, it just can't find the routine.&lt;/P&gt;&lt;P class=""&gt;What we've already verified:&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;USE on the system catalog and ai schema, and EXECUTE on the routine, all permissions are intact and unchanged.&lt;/LI&gt;&lt;LI&gt;The fully qualified name system.ai.python_exec is correct (no typo, no missing qualifier).&lt;/LI&gt;&lt;LI&gt;No change on our end coincided with the failure time.&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Workaround that works for us:&lt;BR /&gt;Recreating the same python_exec function in a &lt;STRONG&gt;non-system catalog&lt;/STRONG&gt; and calling it there works fine in the &lt;EM&gt;same&lt;/EM&gt; region. So the underlying compute/execution path is healthy. The issue appears specific to resolving/executing the built-in copy under system.ai.&lt;/P&gt;&lt;P class=""&gt;Question for the community / Databricks&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;Is anyone else seeing system.ai.python_exec fail to resolve on Azure West US (or other regions), across notebooks and serverless?&lt;/LI&gt;&lt;LI&gt;Is this a known regional issue or a recent change to the system.ai schema?&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Any confirmation or pointers appreciated. Happy to share more details with Databricks staff if helpful.&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2026 21:40:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/system-ai-python-exec-suddenly-failing-with-unresolved-routine/m-p/157938#M2851</guid>
      <dc:creator>sundarep_cav</dc:creator>
      <dc:date>2026-05-29T21:40:31Z</dc:date>
    </item>
  </channel>
</rss>

