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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Troubleshoot AI agents

# Troubleshoot AI agents {#ariaid-title1}

Release version: Brazil  
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 related to AI agents, including role assignments, testing procedures, diagnosing silent failures, and using reference resources.
Proper role configuration is critical for AI agents to function correctly within AI Agent Studio and agentic workflows.
Show full answer Show less  

## Role Assignments

AI agents require specific user and data roles to access necessary tables and tools. Each AI agent comes with predefined roles, which customers can modify, but changes may cause functionality issues. Key roles include:

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

To check assigned roles, navigate to AI Agent Studio's Agentic solutions and review the Access rules for the specific AI agent or workflow.

## Diagnosing AI Agent Failures

Testing AI agents and workflows ensures they have correct access. Verify role assignments include resource access for all required tables and confirm no filtering overrides this access.

Key supporting tables for troubleshooting:

* **Generative AI Log \[sysgenerativeailog\]:** Primary source for execution details, errors, and state transitions.
* **Generative AI Configurations \[sysgenerativeaiconfig\]:** Validates AI agent configurations.
* **AI Agent memory \[snaiamemory\]:** Assists in testing memory-related failures.
* **AI Agent \[snaiaagent\]:** Verifies agent definitions during failures.

**Important:** Silent failures (no returned values) often indicate access permission issues within the AI agent inside the workflow, not just the workflow itself. Test individual AI agents separately to identify permission gaps.

## Reviewing Logs

Use columns in the `sysgenerativeailog` table to identify failure causes:

* **userrole:** Roles assigned to the agent.
* **errormessage:** Indicates permission errors or request mismatches.
* **permissiondenied:** Flags permission-related failures.
* **tablename \& operationtype:** Target table and attempted operation.
* **action:** Specific failed step (e.g., "updateincident").
* **executionlog:** Provides the agent's reasoning before failure.
* **aclrule:** References the ACL that denied access.

Common issues include permission or ACL failures, model endpoint unavailability, token limits, skill or action failures, and performance degradation.

## Additional Resources

For further assistance, customers can consult documentation on:

* Configuring granular admin roles and data permissions for workflows.
* Implementing access control within AI Agent Studio.
* Using Access Analyzer to test AI asset access.
* Manually testing user access to AI assets.
* The ServiceNow AI agents library and knowledge base for advanced scenarios and runtime issues.
* FAQs and troubleshooting guides for AI agents and related components.  
Use this troubleshooting guide to resolve issues with AI agents' roles, testing procedures, silent failure diagnosis and reference resources.

## Required role assignments {#troubleshoot-aia-new__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/~qqdH8jrRidOzUziW848IQ "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-new__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-new__table_sxl_s14_jkc}

To identify the roles currently assigned to:

* AI agents: Navigate to AllAI Agent StudioAgentic solutions.
* Select an AI agent, and navigate to the Access rules section.

  For more information, see [Define access rules for an AI agent](https://www.servicenow.com/docs/R5iUQtazor7~xgPIoPzkSA "Define security controls for an AI agent to determine which users can access it and what permissions they have.").
* Agentic workflows: Navigate to AllAI Agent StudioAgentic solutions.
* Select an agentic workflow, and navigate to the Access rules section.

  For more information, see [Define access rules for an agentic workflow](https://www.servicenow.com/docs/NTGp0e8Z3hVqQD0Bd2l4bQ "Define security controls for an agentic workflow to determine which users can access it and what permissions they have.").
{#troubleshoot-aia-new__ul_kfm_zwc_hkc}

## Diagnose AI agents' failures {#troubleshoot-aia-new__section_prg_1yz_fkc}

Test agents and workflows

:   Test 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 filtering 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-new__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 access to an AI asset](w2HVYPeDNQ379vboSIRM6Q "Verify whether a user has access to an agentic AI asset (an AI agent or an agentic workflow).").

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-new__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 | Shows whether the error is a permission problem or a wording mismatch in the request |
    | 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, for example "update_incident," "create_change," or "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-new__table_wdh_mz4_jkc}

## Additional resources {#troubleshoot-aia-new__section_fvg_qzz_fkc}

Use the following documentation resources for more information:

* Granular admin roles: [Configuring user access and data permissions for agentic workflows](https://www.servicenow.com/docs/access?context=cmpro-conf-users-agentic-wf&version=brazil&pubname=brazil-employee-service-management&ft:locale=en-US)
* Access control: [Implement access control in AI Agent Studio](https://www.servicenow.com/docs/jrLm3q5PQI44YPOvbspQYw "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.").
* Access Analyzer: [Test access to an AI asset](https://www.servicenow.com/docs/w2HVYPeDNQ379vboSIRM6Q "Verify whether a user has access to an agentic AI asset (an AI agent or an agentic workflow).").
* Manually testing user access to an agentic AI asset: [Manually test an agentic AI asset](https://www.servicenow.com/docs/9vXwu1HOXxrPfmCgyw5Hrg "Manually test an AI agent or agentic workflow to verify it functions as defined and achieves the desired objectives.").
* Agent library: [ServiceNow AI agents library](https://www.servicenow.com/docs/~qqdH8jrRidOzUziW848IQ "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-new__ul_w1r_wzz_fkc}

*[\>]: and then


