A2A External Agent Setup Successful, But Execution Fails—Need Steps to Resolve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello Community,
I have configured an AI Agent in Instance A. When prompted, the AI Agent collects the required details and successfully creates a case in the target table. In the AI Agent configuration, I have enabled "Allow third party access to this AI Agent".
In Instance B, I added the above created AI Agent as an external agent(secondary agent) using the A2A Protocol by giving the Agent Card URL of above created AI Agent. During the external agent setup, it was able to discover the above created AI Agent and its been activated and I configured API key as the authentication mechanism. Note: In Instance B, in the AI Agent Studio Settings the "Allow third party to access ServiceNow AI Agents" is enabled.
However, when I attempt to test or invoke this external AI Agent from Instance B from testing playground, the execution is being cancelled, and the AI Agent displays this message "Sorry, there was a problem on my side trying to complete this request. Try asking again later."
I have included a screenshot below for your reference, which shows that agent execution was cancelled and with the message displayed by the AI Agent.
I have also included the Instance Specifications below
Instance A
Platform Version : Zurich Patch 4
Application Version : Now Assist AI Agents, Version 6.0.23
Instance B
Platform Version : Yokohama Patch 11
Application Version : Now Assist AI Agents, Version 6.0.23
Could you help me understand why the execution is being cancelled and help me in resolving this issue and also you can let me know whether there are any additional configurations, permissions, or prerequisites to be followed if I'm missing anything.
Thank you for your support in advance and please keep me notified if any further details required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago - last edited 41m ago
Did you Tried Doing the basic Testing for INSTANCE A Agent Using Post Man or Any Other Similar Tool? What AUth Mechanism you have Configured?
Also Check what you see in these tables when ur executing Agent on Instance A from Instance B.
- Execution Plan [sn_aia_execution_plan]
- External Agent Execution History [sn_aia_external_agent_exec_history]
- Method: GET
- URL: https://<your instance name>.service-now.com/api/sn_aia/a2a/id/<your AI Agent ID>/well_known/agent_json
- Sample: Agent Card V1: /api/sn_aia/a2a/id/{agent_id}/well_known/agent_json
Refer below URL for detailed Configuration for Initiating Agent Call (A2A) From Another ServiceNow Instance.
Authentication for Google A2A – ServiceNow as Seco... - ServiceNow Community
Refer Section:- Testing API Key with another ServiceNow Instance OR Testing OAuth 2.0 with another ServiceNow Instance
Regards
RP
