We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

AI agent is not working

sriramsin
Tera Contributor

I have created a AI agent , that is working fine in the first instance , while moving it to the second instance , it is working fine , while I testing it inside the ai agent , when I am trying to access it in the ESC portal Now Assist , it shows you don't have access, I have attached the screen shots below , In the data access , it has snc_internal role as same in the instances.
Help me solve this issue .
Thanks in Advance 
Ram

4 REPLIES 4

Tanushree Maiti
Tera Patron

Hi @sriramsin 

 

Refer KB: KB3031064 Error "You don't have the required access to complete this request. Try another request." ... 

 

Resolution

1. Create a new AI user with a valid user ID.
2. Assign the required roles (e.g., admin and sn_aia_admin) to the new AI user.
3. Configure the Define data access setting in the AI Agent to use the new AI user with the valid user ID and assigned roles.
4. Verify that the AI Agent operates successfully with the new configuration.

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

how do we know which AI agent to amend ?

Tanushree Maiti
Tera Patron

Hi @sriramsin 

 

This KB also Have a look.

KB3031064 Error "You don't have the required access to complete this request. Try another request." ... 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

rpriyadarshy
Kilo Sage

@sriramsin 

 

(1) You AI Agent is Running Using Dynamic  User Concept or Its Static AI User which is used - AI Agent Run As <This Static User>?

(2) In case of Dynamic User Are you Using Role Masking?

(3) If you AICT in you env - Please check which all Table This AI Agent reads/Write?

(4) Try Increasing the Permission for testing and see?

(5) Check Agent Execution Log for Access denial- sys_generative_ai_Log

 

Regards

RP