{"record":{"id":"ffcecb592243fefc","repo":"conductor-oss/conductor","slug":"no-execution-found-for-id-executionid","errorCode":null,"errorMessage":"No execution found for id: {executionId}","messagePattern":"No execution found for id: (.+?)","errorType":"exception","errorClass":"IllegalStateException","httpStatus":null,"severity":"error","filePath":"agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java","lineNumber":173,"sourceCode":"                    .reasonForIncompletion(\"No execution found for id: \" + executionId)\n                    .build();\n        }\n        String token = ctx.tokenProvider.getToken();\n        String runUrl = ctx.endpoint + \"/threads/\" + executionId + \"/runs/\" + ctx.runId;\n        JsonNode run = get(runUrl, token, ctx.apiVersion);\n        return toStatusResponse(executionId, run, ctx, token);\n    }\n\n    /**\n     * Submits a tool-call result (when the run is in {@code requires_action} state) or posts a new\n     * user message and starts a fresh run (for multi-turn conversation).\n     */\n    @Override\n    public void respond(ConductorAgentRespondRequest request) {\n        String executionId = request.getExecutionId();\n        ExecutionContext ctx = executions.get(executionId);\n        if (ctx == null) {\n            throw new IllegalStateException(\"No execution found for id: \" + executionId);\n        }\n        String token = ctx.tokenProvider.getToken();\n\n        // Check current run state to decide how to respond\n        String runUrl = ctx.endpoint + \"/threads/\" + executionId + \"/runs/\" + ctx.runId;\n        JsonNode run = get(runUrl, token, ctx.apiVersion);\n        String status = run.path(\"status\").asText();\n\n        if (\"requires_action\".equals(status)) {\n            submitToolOutputs(executionId, ctx, request, token);\n        } else {\n            // Multi-turn: add message and start new run\n            ObjectNode msgBody = MAPPER.createObjectNode();\n            msgBody.put(\"role\", \"user\");\n            String content = request.getBody() != null ? request.getBody().toString() : \"\";\n            msgBody.put(\"content\", content);\n            post(\n                    ctx.endpoint + \"/threads/\" + executionId + \"/messages\",","sourceCodeStart":155,"sourceCodeEnd":191,"githubUrl":"https://github.com/conductor-oss/conductor/blob/cf7c3e4a8adfb158be778ab1ec525323c363cd3a/agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java#L155-L191","documentation":"Error \"No execution found for id: {executionId}\" thrown in conductor-oss/conductor.","triggerScenarios":"Thrown at agentspan/src/main/java/org/conductoross/conductor/ai/agentspan/runtime/service/AzureFoundryAgentClient.java:173 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the executionId is correct and the execution was created by this Azure Foundry client.","Check the agent execution store; the execution may have been pruned or never started."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"cf7c3e4a8adfb158be778ab1ec525323c363cd3a","analyzedAt":"2026-08-14T03:33:19.897Z","schemaVersion":2},"datasetVersion":"2026-08-14T05:17:29.042Z"}