web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Adaptive card Action.S...
Copilot Studio
Suggested Answer

Adaptive card Action.Submit throws TopicNotFound + intermittent SystemError on new chats

(2) ShareShare
ReportReport
Posted on by Microsoft Employee
Hi all, 
I have been facing few issues with copilot studio agents and require some assistance. 
Two recurring issues in a generative-orchestration agent (with connected agents). Grateful for any guidance.
=====================================================
ISSUE 1 — Action.Submit throws TopicNotFound
=====================================================
Setup: A custom topic (intent is empty, triggered by description) shows a single AdaptiveCardPrompt with Submit/Cancel buttons, then branches on the result.
Card action pattern (simplified):
  "actions": [
    { "type": "Action.Submit", "title": "Submit", "data": { "action": "submit" } },
    { "type": "Action.Submit", "title": "Cancel", "associatedInputs": "none", "data": { "action": "cancel" } }
  ]
The submit value is bound to a Topic variable (Topic.action), then a ConditionGroup branches:
  - condition: Topic.action = "submit"  -> run submit steps
  - condition: Topic.action = "cancel"  -> run cancel steps

Problem: The card renders fine, but clicking Submit or Cancel returns:
"The Topic with Id cr665_<env>.topic.<MyTopic> was not found in the definition. Error code: TopicNotFound."

What I've verified:
- The topic exists and Topic checker is green (no errors).
- No duplicate topics in the solution; the topic has a unique, non-system name.
- The agent was published successfully.
- Other agents with multi-input / multi-card topics work fine.
- Single card vs two cards makes no difference — it is specifically the Action.Submit round-trip that cannot resolve the topic.

Questions:
1. Why would an Action.Submit callback fail with TopicNotFound when the topic clearly triggers and renders the card?
2. Is this a publish/runtime sync issue (draft vs published definition)?
3. Is there a known fix for adaptive-card button submits in generative-orchestration agents?


=====================================================
ISSUE 2 — Intermittent SystemError on brand-new chats
=====================================================
I also frequently get this, even on a fresh conversation with a short first message (not a long thread):
"Sorry, something went wrong. Error code: SystemError. Conversation ID: ... Time (UTC): ..."

Details:
- It happens intermittently — the same input often works on retry.
- It occurs on new/short chats, so it is not a context/token-limit issue (that would only appear in long conversations).
- No custom topic is involved — it can fail on a simple greeting or first query.
- The agent uses generative orchestration with connected agents.

Questions:
1. What causes an intermittent SystemError on the very first turn of a new conversation?
2. Could it be the selected model (orchestration/tool-calling capability), the connected-agent hops, or a transient backend issue?
3. How can I diagnose the underlying error beyond the generic SystemError, and what reduces its frequency?



Happy to share activity traces and more examples for both. Thanks!
I have the same question (0)
  • Suggested answer
    Haque Profile Picture
    3,943 on at
    Hi @JK-04052223-0,
     
    ISSUE-1:
     
    The Adaptive Card’s Action.Submit  does not specify the topic name to invoke.
    "actions": [
      {
        "type": "Action.Submit",
        "title": "Submit",
        "data": {
          "action": "submit",
          "topic": "YourTopic"
        }
      },
      {
        "type": "Action.Submit",
        "title": "Cancel",
        "associatedInputs": "none",
        "data": {
          "action": "cancel",
          "topic": "YourTopic"
        }
      }
    ]
    
    Please change "YourTopic" with actual topic name.
     
     
    ISSUE-2:
     
    Probably a temporary serivice issue as it is intermittent. Please check service health dashboard for any ongoing outages or throttling.
     
     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
     
  • Suggested answer
    Valantis Profile Picture
    6,939 on at
     
    Issue 1 - Action.Submit TopicNotFound:

    Haque's suggestion to add a topic name to the data payload is not the correct fix. Action.Submit in Copilot Studio doesn't use a topic name in the data for routing.
    The confirmed root cause for TopicNotFound with generative orchestration: <cite index="74-1">When you use interactive Adaptive Cards, make sure each submit action includes unique data that identifies the card or action.
     
    Using card- or action-specific unique data reduces the risk of unexpected behavior when multiple cards are visible or when a user selects a button on an earlier card.</cite> The error indicates a publish/runtime sync issue where the runtime can't match the submitted card response back to the correct topic version.

    Fix: republish the agent after any topic edit, then start a completely new conversation (not an existing one). The TopicNotFound error typically means the session was using a stale topic definition from a previous publish. Also ensure the Adaptive Card node is using the Ask with Adaptive Card node type (not a Message node with a card JSON), as only the Ask with Adaptive Card node properly maintains the topic callback registration for the Submit action.
     
    Issue 2 - Intermittent SystemError on new chats:

    This is a known intermittent issue with generative orchestration multi-agent setups. The parent agent invoking connected agents on the very first turn can hit a race condition during session initialization.
     
    The most consistent mitigations are: reduce the number of connected agents invoked on the first turn, add a brief Conversation Start topic that sets context before any agent routing happens, and check the Power Platform Service Health dashboard for any active incidents affecting Copilot Studio runtime.
     
      Best regards,

    Valantis   ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/ 💼 LinkedIn ▶️ YouTube

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
sannavajjala87 Profile Picture

sannavajjala87 160 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 145

#3
Haque Profile Picture

Haque 121

Last 30 days Overall leaderboard