<?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 Information Extraction Agent - Update Agent failed in Generative AI</title>
    <link>https://community.databricks.com/t5/generative-ai/information-extraction-agent-update-agent-failed/m-p/139122#M1398</link>
    <description>&lt;P class=""&gt;Hi everyone,&lt;/P&gt;&lt;P class=""&gt;I’m running into a persistent issue when trying to save an &lt;SPAN class=""&gt;&lt;STRONG&gt;Information Extraction Agent&lt;/STRONG&gt;&lt;/SPAN&gt; in Databricks.&lt;/P&gt;&lt;P class=""&gt;Every time I click &lt;SPAN class=""&gt;&lt;STRONG&gt;Save and update&lt;/STRONG&gt;&lt;/SPAN&gt;, I get:&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;STRONG&gt;Update Agent failed. Failed to save Agent&lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;P class=""&gt;This happens regardless of what I change — schema, guidelines, instructions, or even when I try saving without making any edits.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;&lt;STRONG&gt;&amp;nbsp;What I’ve already checked&lt;/STRONG&gt;&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;The dataset is properly loaded (Unlabeled dataset).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The selected column is a &lt;SPAN class=""&gt;&lt;STRONG&gt;STRING&lt;/STRONG&gt;&lt;/SPAN&gt; column with valid text.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Verified that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;No NULL values&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;No empty rows&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The agent successfully loads sample examples&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Tried creating a completely new agent → same error.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Tried different browsers.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;No background optimization jobs running.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;JSON schema is valid according to the built-in validator.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Shortened instructions/guidelines to avoid length limits.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;My questions&lt;/STRONG&gt;&lt;/H2&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;Are there known issues with saving Information Extraction Agents?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Does the dataset &lt;SPAN class=""&gt;&lt;STRONG&gt;have&lt;/STRONG&gt;&lt;/SPAN&gt; to be a materialized table instead of a view?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Is there a way to see detailed logs for this failure?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Are there undocumented validation rules that may block saving (length limits, formatting, etc.)?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;Any help or insights would be greatly appreciated. Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 14 Nov 2025 16:59:17 GMT</pubDate>
    <dc:creator>Nadav</dc:creator>
    <dc:date>2025-11-14T16:59:17Z</dc:date>
    <item>
      <title>Information Extraction Agent - Update Agent failed</title>
      <link>https://community.databricks.com/t5/generative-ai/information-extraction-agent-update-agent-failed/m-p/139122#M1398</link>
      <description>&lt;P class=""&gt;Hi everyone,&lt;/P&gt;&lt;P class=""&gt;I’m running into a persistent issue when trying to save an &lt;SPAN class=""&gt;&lt;STRONG&gt;Information Extraction Agent&lt;/STRONG&gt;&lt;/SPAN&gt; in Databricks.&lt;/P&gt;&lt;P class=""&gt;Every time I click &lt;SPAN class=""&gt;&lt;STRONG&gt;Save and update&lt;/STRONG&gt;&lt;/SPAN&gt;, I get:&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;STRONG&gt;Update Agent failed. Failed to save Agent&lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;P class=""&gt;This happens regardless of what I change — schema, guidelines, instructions, or even when I try saving without making any edits.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;&lt;STRONG&gt;&amp;nbsp;What I’ve already checked&lt;/STRONG&gt;&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;The dataset is properly loaded (Unlabeled dataset).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The selected column is a &lt;SPAN class=""&gt;&lt;STRONG&gt;STRING&lt;/STRONG&gt;&lt;/SPAN&gt; column with valid text.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Verified that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;No NULL values&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;No empty rows&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;The agent successfully loads sample examples&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Tried creating a completely new agent → same error.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Tried different browsers.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;No background optimization jobs running.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;JSON schema is valid according to the built-in validator.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Shortened instructions/guidelines to avoid length limits.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;H2&gt;&lt;STRONG&gt;My questions&lt;/STRONG&gt;&lt;/H2&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;Are there known issues with saving Information Extraction Agents?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Does the dataset &lt;SPAN class=""&gt;&lt;STRONG&gt;have&lt;/STRONG&gt;&lt;/SPAN&gt; to be a materialized table instead of a view?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Is there a way to see detailed logs for this failure?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Are there undocumented validation rules that may block saving (length limits, formatting, etc.)?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;Any help or insights would be greatly appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 16:59:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/information-extraction-agent-update-agent-failed/m-p/139122#M1398</guid>
      <dc:creator>Nadav</dc:creator>
      <dc:date>2025-11-14T16:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Information Extraction Agent - Update Agent failed</title>
      <link>https://community.databricks.com/t5/generative-ai/information-extraction-agent-update-agent-failed/m-p/139150#M1399</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/197791"&gt;@Nadav&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="qt3gz91 paragraph"&gt;Thanks for the detailed notes—this looks like the common “Update Agent failed” pattern we’ve seen with Information Extraction agents, and we can narrow it down systematically. Also, the link you shared points to a user profile and I couldn’t open the actual thread; please share the specific community post URL if you want me to reference it directly.&lt;/P&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;What’s known about “Update Agent failed”&lt;/H3&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;This feature is in Beta, and we’ve had intermittent backend issues where the UI shows a generic “Update Agent failed” even for transient rate limit or model-serving hiccups. Retrying later sometimes succeeds without any changes.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Multiple internal tickets and Slack threads document agents failing to save/update due to transient outages and/or rate limiting against the underlying foundation model—again surfacing only as the generic “Update Agent failed.”&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Schema-related issues can also trigger the same generic error. In particular, union/anyOf-style JSON schema constructs tend to fail; union schema types are not supported in Information Extraction today.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;Answers to your questions&lt;/H3&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Are there known issues with saving Information Extraction Agents?&lt;BR /&gt;Yes. We’ve seen intermittent failures tied to model serving/rate limits and incomplete error reporting; these surface as “Update Agent failed” even when the root cause is transient. There are also schema-related validation gaps (for example, unions) that currently fail with the same generic UI message.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Does the dataset have to be a materialized table instead of a view?&lt;BR /&gt;The docs specify using a Unity Catalog volume (folder) or a Unity Catalog table. Views aren’t mentioned/supported for the IE build flow, so use a table (or a volume), and if your inputs start as PDFs, convert them into a UC table first and point the agent at that table/column.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Is there a way to see detailed logs for this failure?&lt;BR /&gt;For the “Use PDFs” conversion flow, the UI links to a Databricks job—open the job to see failure messages. For the agent Save/Update itself, the UI currently doesn’t expose granular diagnostics; Support/Eng can inspect internal traces if you provide the agent URL and workspace ID (this is routinely requested on internal triage threads).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Are there undocumented validation rules that may block saving (length limits, formatting, etc.)?&lt;BR /&gt;The main ones to keep in mind:&lt;/P&gt;
&lt;UL class="qt3gz98 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Supported inputs: UC volume or UC table; labeled response must be a JSON string with the same keys in every row (for labeled datasets).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Supported schema types: string/int/float/boolean/enum/object/array. Union types (for example, anyOf with null or mixed types) are not supported and can cause “Update Agent failed.” Prefer explicit nullable handling at the field level (for example, allow empty string) rather than unions.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Context/size: IE agents have a 128k token max context length; extremely large examples/instructions can hit limits indirectly during save/update when samples are generated.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Workspace prerequisites that, if not satisfied, can block progress: Unity Catalog enabled, access to foundation models in UC (system.ai), serverless budget policy, compute/serverless requirements, and supported AWS regions (us-east-1 or us-west-2 for AWS).&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 class="_7uu25p0 qt3gz9c _7pq7t612 heading3 _7uu25p1"&gt;Quick troubleshooting checklist&lt;/H3&gt;
&lt;UL class="qt3gz97 qt3gz92"&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Verify workspace prerequisites&lt;BR /&gt;Ensure Unity Catalog is enabled, Agent Bricks (Preview/Beta) is enabled, a serverless budget policy exists, FM access is available via system.ai, and the workspace is in a supported region (AWS us-east-1/us-west-2).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Use a UC table (not a view) or a UC volume&lt;BR /&gt;If your source is PDFs, confirm you used “Use PDFs” to create a UC table, then point IE to the STRING column in that table.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Simplify the schema first&lt;BR /&gt;Avoid union constructs (for example, anyOf with ["string","null"] or mixed item types). Start with simple scalar types plus arrays/objects, and ensure labeled JSON (if used) has identical keys per row. Add fields incrementally to isolate the problematic field/type if the save fails.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Reduce prompt/guidelines size temporarily&lt;BR /&gt;Try saving with minimal global instructions/guidelines to rule out token-size issues, then re-introduce text gradually. IE agents have 128k context limits; extremely long guidelines can indirectly cause failures during sample generation.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Retry after a short wait&lt;BR /&gt;If this is rate limiting or a transient model-serving issue, a retry after a few minutes can succeed (this pattern has been observed; the UI unfortunately collapses various backend failures into the same message).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="qt3gz9a"&gt;
&lt;P class="qt3gz91 paragraph"&gt;Collect details for escalation if it persists&lt;BR /&gt;Share the agent URL and workspace ID with Support so Eng can pull backend traces. This is the standard ask on triage threads and ES tickets to debug “Update Agent failed.”&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope these tips are useful.&lt;/P&gt;
&lt;P&gt;Cheers, Louis.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Nov 2025 03:57:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/information-extraction-agent-update-agent-failed/m-p/139150#M1399</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2025-11-15T03:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Information Extraction Agent - Update Agent failed</title>
      <link>https://community.databricks.com/t5/generative-ai/information-extraction-agent-update-agent-failed/m-p/139207#M1402</link>
      <description>&lt;P&gt;Hey Louis,&lt;/P&gt;&lt;P&gt;Thanks a lot for your help! I implemented your suggestion and after replacing the base view I had created with a regular table, the issue was fully resolved.&lt;BR /&gt;&lt;BR /&gt;Really appreciate you taking the time to look into it and share the insight!&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Nadav&lt;/P&gt;</description>
      <pubDate>Sun, 16 Nov 2025 11:08:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/information-extraction-agent-update-agent-failed/m-p/139207#M1402</guid>
      <dc:creator>Nadav</dc:creator>
      <dc:date>2025-11-16T11:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Information Extraction Agent - Update Agent failed</title>
      <link>https://community.databricks.com/t5/generative-ai/information-extraction-agent-update-agent-failed/m-p/139753#M1431</link>
      <description>&lt;P&gt;It sounds like the update for your Information Extraction Agent didn’t go through successfully. A few things you could try:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Check logs – Look for any error messages during the update process; they often give clues about what went wrong.&lt;/LI&gt;&lt;LI&gt;Verify dependencies – Make sure all required libraries or services are up-to-date and compatible with the agent.&lt;/LI&gt;&lt;LI&gt;Restart the agent/service – Sometimes a simple restart after an update failure can resolve temporary issues.&lt;/LI&gt;&lt;LI&gt;Re-run the update – If possible, try updating again in a clean environment.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If none of these work, sharing the exact error messages or logs can help others pinpoint the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 07:47:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/generative-ai/information-extraction-agent-update-agent-failed/m-p/139753#M1431</guid>
      <dc:creator>tarunnagar</dc:creator>
      <dc:date>2025-11-20T07:47:36Z</dc:date>
    </item>
  </channel>
</rss>

