I created an Agent and a flow (which is used as a tool by the Agent). When other users use it, the flow seems to run but the Agent cannot pick up its response.

Edward 86 Reputation points
2026-07-15T20:10:19.3966667+00:00

I created a Copilot agent using 'agent builder' and it worked fine until last Friday. Suddnely, i keep getting "Something went wrong" even though we checked no changes to the Agent or whatever policy was made.

Can someone elaborate what "Something went wrong" message?

So tired of Microsoft using that for every single issue and make it impossible to troubleshoot. Thanks so much

Microsoft Copilot | Microsoft 365 Copilot | Development
0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-07-15T20:10:42.8066667+00:00

    Something went wrong is a generic agent failure, not a single root cause. In this scenario, the most likely causes are flow response/schema problems between the agent and the flow.

    Most relevant causes to check:

    1. The flow response no longer matches what the agent expects
      • If the flow input or output schema changed and the agent action wasn’t refreshed, the agent can fail even though the flow runs.
      • In channels such as Teams, this commonly appears as FlowActionBadRequest and is caused by input/output schema mismatches or null/missing values.
    2. The flow isn’t returning the expected output to the agent
      • If no output is returned, or an expected output parameter is missing, the agent can fail with flow-related errors.
      • Documented examples include missing output values or output schema mismatches.
    3. The flow is configured to respond asynchronously instead of in real time
      • Agent flows must return values synchronously.
      • If Asynchronous response is turned on in Respond to the agent, the agent can fail and show: Something unexpected happened. We're looking into it. Error code: 3000.
    4. A null or unsupported parameter type is being passed
      • Supported flow parameter base types are Text, Boolean, and Numbers.
      • Null or missing inputs can also trigger failures.
    5. Teams or channel conversation state is stale
      • Teams can cache an older version of the agent conversation, so the error can continue even after the flow was fixed.

    Actionable troubleshooting path:

    1. In Copilot Studio, open the topic that contains the flow action.
    2. On the Action node, select the ellipsis (...) > Refresh.
    3. Verify the input and output parameters in Copilot Studio exactly match the parameters in Power Automate.
    4. Save and republish the agent.
    5. Open the flow and check the Respond to the agent action:
      • Go to Settings
      • Confirm Asynchronous response is Off
      • Save the flow
    6. Check that every value passed to the flow is valid:
      • No null required inputs
      • Only supported base types: Text, Boolean, Numbers
    7. If the flow appears to run but the agent still does not pick up the response, verify the flow actually returns every expected output parameter.
    8. In Teams, start a fresh conversation by typing start over or goodbye.
    9. If the issue persists in Teams, enter /debug clearstate to clear the conversation state and reload the agent state.
    10. Test again in Test your agent after each change.

    If the failure happens mainly in Test your agent and the chat stops responding after the first message, check whether a corporate firewall or proxy is buffering the /subscribe Server-Sent Events connection. That can make the panel appear unresponsive even when activity exists in the transcript.

    What the message means in practice:

    • It usually indicates the agent could not successfully consume the flow result, not necessarily that the flow never started.
    • For this specific symptom — flow runs, but the agent cannot pick up the response — the strongest documented causes are:
      • stale schema in the action node,
      • missing flow outputs,
      • null/mismatched input values,
      • asynchronous response enabled.

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.