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/BedrockAgentClient.java:136

        return ConductorAgentStatusResponse.builder()
                .executionId(executionId)
                .status(agentState)
                .complete(
                        agentState == ConductorAgentState.COMPLETED
                                || agentState == ConductorAgentState.FAILED)
                .running(agentState == ConductorAgentState.RUNNING)
                .waiting(agentState == ConductorAgentState.WAITING)
                .output(state.output)
                .pendingTool(state.pendingTool)
                .pendingToolName(state.pendingToolName)
                .build();
    }

    @Override
    public void respond(ConductorAgentRespondRequest request) {
        ExecutionState state = executions.get(request.getExecutionId());
        if (state == null) {
            throw new IllegalStateException(
                    "No execution found for id: " + request.getExecutionId());
        }

        // Build the returnControlInvocationResults from the respond body
        String toolResult = request.getBody() != null ? request.getBody().toString() : "";
        ContentBody contentBody = ContentBody.builder().body(toolResult).build();

        SessionState sessionState =
                SessionState.builder()
                        .returnControlInvocationResults(
                                rb ->
                                        rb.apiResult(
                                                ar ->
                                                        ar.actionGroup(state.pendingToolName)
                                                                .apiPath("/invoke")
                                                                .httpMethod("POST")
                                                                .responseBody(
                                                                        Map.of(

View on GitHub (pinned to cf7c3e4a8a)

Solutions

  1. Verify the executionId exists and was created through the Bedrock agent client.
  2. Check that the execution has not been pruned from the store.

When it happens

Trigger: Thrown at agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/BedrockAgentClient.java:136 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/d00fe6c117187e24. Report an issue: GitHub.