conductor-oss/conductor · error · IllegalStateException

No execution found for id: {executionId}

Error message

No execution found for id: {executionId}

What it means

Error "No execution found for id: {executionId}" thrown in conductor-oss/conductor.

Source

Thrown at agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java:173

                    .reasonForIncompletion("No execution found for id: " + executionId)
                    .build();
        }
        String token = ctx.tokenProvider.getToken();
        String runUrl = ctx.endpoint + "/threads/" + executionId + "/runs/" + ctx.runId;
        JsonNode run = get(runUrl, token, ctx.apiVersion);
        return toStatusResponse(executionId, run, ctx, token);
    }

    /**
     * Submits a tool-call result (when the run is in {@code requires_action} state) or posts a new
     * user message and starts a fresh run (for multi-turn conversation).
     */
    @Override
    public void respond(ConductorAgentRespondRequest request) {
        String executionId = request.getExecutionId();
        ExecutionContext ctx = executions.get(executionId);
        if (ctx == null) {
            throw new IllegalStateException("No execution found for id: " + executionId);
        }
        String token = ctx.tokenProvider.getToken();

        // Check current run state to decide how to respond
        String runUrl = ctx.endpoint + "/threads/" + executionId + "/runs/" + ctx.runId;
        JsonNode run = get(runUrl, token, ctx.apiVersion);
        String status = run.path("status").asText();

        if ("requires_action".equals(status)) {
            submitToolOutputs(executionId, ctx, request, token);
        } else {
            // Multi-turn: add message and start new run
            ObjectNode msgBody = MAPPER.createObjectNode();
            msgBody.put("role", "user");
            String content = request.getBody() != null ? request.getBody().toString() : "";
            msgBody.put("content", content);
            post(
                    ctx.endpoint + "/threads/" + executionId + "/messages",

View on GitHub (pinned to cf7c3e4a8a)

Solutions

  1. Verify the executionId is correct and the execution was created by this Azure Foundry client.
  2. Check the agent execution store; the execution may have been pruned or never started.

When it happens

Trigger: Thrown at agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java:173 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of conductor-oss/conductor@cf7c3e4a8a (2026-08-14). Data as JSON: /api/errors/ffcecb592243fefc. Report an issue: GitHub.