---
sourceDocument: Australia Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/intelligent-experiences

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Troubleshoot AI agents

# Troubleshoot AI agents {#ariaid-title1}

Release version: Australia  
Updated November 5, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Troubleshoot AI agents

This guide helps ServiceNow customers resolve issues with AI agents, focusing on role assignments, testing procedures, diagnosing silent failures, and using key diagnostic resources.
Proper role configuration is essential for AI agents and agentic workflows to function correctly within AI Agent Studio.
Show full answer Show less  

## Role Assignments

AI agents rely on predefined user and data roles to control access to tables and tools. Customers can modify these roles, but incorrect changes may cause functionality problems. Key roles include:

* **Issue readiness:** `snuxcgenai.platformaiissuereadiness`
* **Domain separation:** `domainadmin`
* **Access analyzer agent:** `accessanalyzeradmin` or `useradmin`

Customers can verify assigned roles for AI agents and agentic workflows via AI Agent Studio under the "Define security controls" section.

## Diagnosing AI Agent Failures

To troubleshoot failures:

* **Test AI agents and workflows individually** to ensure correct access and role assignments, checking for resource access and role masking issues.
* Use **key diagnostic tables**:
  * `generative AI Log [sysgenerativeailog]`: Primary source for execution details, errors, and state transitions.
  * `generative AI Configurations [sysgenerativeaiconfig]`: Validates agent setup configurations.
  * `AI Agent memory [snaiamemory]`: Helps diagnose memory-related failures.
  * `AI Agent [snaiaagent]`: Verifies agent definitions.
* **Silent failures** often indicate access errors where workflows have access but underlying agents do not; testing all agents individually is critical.

## Using Logs for Troubleshooting

The `generative AI Log [sysgenerativeailog]` table records all AI activity and is essential for identifying root causes of failures such as permission issues, model endpoint unavailability, token limits, skill failures, and performance problems. Important log columns include:

* **userrole:** Role assigned to the agent.
* **errormessage:** Error details indicating permission or other issues.
* **permissiondenied:** Boolean flag for permission failures.
* **tablename:** Target table involved in failure.
* **operationtype:** Type of attempted operation (read, write, execute, query).
* **action:** Specific failed step (e.g., updateincident).
* **executionlog:** Full context including agent reasoning.
* **aclrule:** ACL that denied access.

## Additional Resources

ServiceNow provides documentation and tools to assist customers, including:

* Access control implementation for AI agents.
* Testing user access for AI agents and agentic workflows.
* AI agents library and knowledge base articles on advanced scenarios and troubleshooting.
* Security enhancements and common solutions for AI Agent components.
* Guidance on accessing AI Agent Studio after plugin upgrades.

Following these guidelines enables customers to effectively identify and resolve AI agent issues, ensuring reliable operation within their ServiceNow environment.  
Use this troubleshooting guide to resolve issues with AI agents' roles, testing procedures, silent failure diagnosis and reference resources.

## Required roles assignments {#troubleshoot-aia__required_roles}

Role assignments control access to AI Agent Studio and determine what tables and tools an agent or an agentic workflow can access.  
Each agent comes with predefined user and data roles by default that can be modified by the customer. It is important to understand the difference between these roles, as an AI agent may not function correctly if it lacks the appropriate user or data role assigned. For more information about the default AI agent roles, see the [ServiceNow AI agents library](https://www.servicenow.com/docs/4P9mFt1gAYq0xZ5aE2JJBA "All ServiceNow AI agents are listed. Depending on your license, not all AI agents may appear in your instance.").  
Note:  
If the customer alters the default user or data roles, it may lead to issues with the agent's functionality and execution.  
Some of the individual ServiceNow AI Platform AI agent roles include:{#troubleshoot-aia__table_sxl_s14_jkc__entry__2}

| AI agent | Role or Condition |
|-|-|
| Issue readiness | sn_uxc_gen_ai.platform_ai_issue_readiness |
| Request status | LoggedIn=true\^ORAllowUnauthRolelessAcl=true |
| Domain separation | domain_admin |
| Access analyzer agent | access_analyzer_admin OR user_admin |
[Table 1. ServiceNow AI Platform AI agent roles]

{#troubleshoot-aia__table_sxl_s14_jkc}  
To identify the roles currently assigned to:

* AI agents: Navigate to AllAI Agent StudioCreate and ManageAI Agents, select an AI agent, and navigate to the Define security controls section.

  For more information, see [Define security controls for an AI agent](https://www.servicenow.com/docs/SGciUCFmTP77qs2F6Qv4ig "In the guided setup for an AI agent, define security controls for who can access the AI agent and what data the AI agent has access to.").
* Agentic workflows: Navigate to AllAI Agent StudioCreate and ManageAgentic workflows, select an agentic workflow, and navigate to the Define security controls section.

  For more information, see [Define security controls for an agentic workflow](https://www.servicenow.com/docs/qxzXRhxS2boNbPatAyZ7aQ "In the guided setup for an agentic workflow, define security controls for who can access the agentic workflow and what data the agentic workflow has access to.").
{#troubleshoot-aia__ul_kfm_zwc_hkc}

## Diagnose AI agents' failures {#troubleshoot-aia__section_prg_1yz_fkc}

Test agents and workflows
:   Test your all your AI agents and agentic workflows to make sure they have the correct access. When an AI agent role does not have required resource access, verify that the agent is assigned the correct role.
    Verify the role has resource access records for all required tables and confirm that role masking does not override the resource access.  
    Supporting tables for diagnosing AI agent's failures:

    * generative AI Log \[sys_generative_ai_log\] table: The primary resource for diagnosing AI agent failures is the generative AI Log \[sys_generative_ai_log\] table. The table logs agentic execution details, errors, and state transitions that help diagnose role-related failures, permission and workflow issues.
    * generative AI Configurations \[sys_generative_ai_config\] table: Contains configuration records for AI agents; useful for validating that agent setups are correct before testing failures.
    * AI Agent memory \[sn_aia_memory\] table: Contains the agent memory state and helps test memory-related failures or edge cases.
    * AI Agent \[sn_aia_agent\] table: Verify agent definitions during failure scenarios.
    {#troubleshoot-aia__ul_qd2_xc4_jkc}  
    Important:  
    Silent failures that return no values may indicate an underlying access error. You might have access to the agentic workflow, but the AI agent within the workflow may lack necessary permissions. Always test all underlying AI agents individually, not just the workflow, to catch permission gaps that your own access level might mask. To manually test the access requirements of an agentic AI asset, see [Test user access to an AI agent](WLgnvMsT0U8UaqCepflWVw "Run a manual test to verify that only the users you want to access the AI agent can do so.").

Review logs
:   Use these columns in the generative AI Log \[sys_generative_ai_log\] table to identify root causes of AI agent and agentic workflow failures. The table records all generative AI activity within your ServiceNow instance, including AI agent invocations, model responses, performance metrics, and errors.  
    Common issues include:

    * Permission and ACL failures
    * Model endpoint unavailability
    * Token limit exhaustion
    * Skill or action failures
    * Performance degradation  
    {#troubleshoot-aia__table_wdh_mz4_jkc__entry__2}

    | Column name | Troubleshooting use |
    |-|-|
    | user_role | Shows what role the agent has; compare to what's required |
    | error_message | Direct indication of permission versus natural-language mismatch |
    | permission_denied | Boolean flag to quickly filter permission failures |
    | table_name | Target table the agent was accessing when it failed |
    | operation_type | Type of operation attempted: `read`, `write`, `execute`, `query` |
    | action | Shows exactly which step failed (e.g. "update_incident", "create_change", "query_table") |
    | execution_log | Full context; shows agent's reasoning before failure |
    | acl_rule | References the specific ACL that denied access |
    [Table 2. Columns from generative AI Log \[sys_generative_ai_log\] table used for troubleshooting AI agents]

    {#troubleshoot-aia__table_wdh_mz4_jkc}

## Additional resources {#troubleshoot-aia__section_fvg_qzz_fkc}

Use the following documentation resources for more information:

* Access control: [Implement access control in AI agents](https://www.servicenow.com/docs/D0NTp_kkteTBkEz5tLQ_gQ "Implement security in AI Agent Studio through access control lists (ACLs), user identities, and role filtering with the access control-based security measures in the agentic system.")
* To test user access to an:
  * AI agent: [Test user access to an AI agent](https://www.servicenow.com/docs/WLgnvMsT0U8UaqCepflWVw "Run a manual test to verify that only the users you want to access the AI agent can do so.").
  * Agentic workflow: [Test user access to an agentic workflow](https://www.servicenow.com/docs/08sRjdHMCCuuBLnih199FQ "Run a manual test to verify that only the users you want to access the agentic workflow can do so.").
* Agent library: [ServiceNow AI agents library](https://www.servicenow.com/docs/4P9mFt1gAYq0xZ5aE2JJBA "All ServiceNow AI agents are listed. Depending on your license, not all AI agents may appear in your instance.")
* Knowledge base: [AI agent advanced scenarios and runtime issues playbook](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB3042061).
* [AI Agents FAQ and Troubleshooting](https://www.servicenow.com/community/servicenow-otto-articles/ai-agents-faq-and-troubleshooting/ta-p/3200454).
* [Access control Security enhancements for AI agents and Skill Kit](https://www.servicenow.com/community/servicenow-otto-articles/latest-access-control-security-enhancements-for-ai-agents-and/ta-p/3374036).
* [Common solutions for ServiceNow AI Agent, MCP Server, and AI Agent Fabric](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2076278).
* [Accessing AI Agent Studio after upgrading the ServiceNow Otto AI Agents plugin](https://www.servicenow.com/community/servicenow-otto-for-creator/access-denied-to-ai-agent-studio-after-upgrading-sn-aia-plugin/td-p/3453111).
{#troubleshoot-aia__ul_w1r_wzz_fkc}

*[\>]: and then


