{"record":{"id":"36a0aa72923e059e","repo":"dagger/dagger","slug":"failed-to-call-sdk-module-generate-client-w","errorCode":null,"errorMessage":"failed to call sdk module generate client: %w","messagePattern":"failed to call sdk module generate client: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"core/sdk/module_client_generator.go","lineNumber":94,"sourceCode":"\t\t\tName:  \"modSource\",\n\t\t\tValue: dagql.NewID[*core.ModuleSource](modSourceID),\n\t\t},\n\t\t{\n\t\t\tName:  \"introspectionJson\",\n\t\t\tValue: dagql.NewID[*core.File](schemaJSONFileID),\n\t\t},\n\t\t{\n\t\t\tName:  \"outputDir\",\n\t\t\tValue: dagql.String(outputDir),\n\t\t},\n\t}\n\n\terr = dag.Select(ctx, sdkInst.sdk, &inst, dagql.Selector{\n\t\tField: \"generateClient\",\n\t\tArgs:  generateClientsArgs,\n\t})\n\tif err != nil {\n\t\treturn inst, fmt.Errorf(\"failed to call sdk module generate client: %w\", err)\n\t}\n\treturn inst, nil\n}\n","sourceCodeStart":76,"sourceCodeEnd":98,"githubUrl":"https://github.com/dagger/dagger/blob/82ba2681dbe30d3547a1dc50ea495900ab5b6047/core/sdk/module_client_generator.go#L76-L98","documentation":"The dagql select of the SDK module's generateClient field failed after all arguments (modSource ID, introspection JSON ID, outputDir) were prepared. This is the actual SDK-side client generation failure — runtime container error, SDK bug, or rejected inputs.","triggerScenarios":"Thrown at core/sdk/module_client_generator.go:94 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the wrapped SDK error and generated-client container logs","Validate the module source and schema JSON are well-formed","Retry; check SDK module version compatibility with the engine"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"82ba2681dbe30d3547a1dc50ea495900ab5b6047","analyzedAt":"2026-09-05T07:21:37.930Z","contentChangedAt":"2026-09-05T07:21:37.930Z","schemaVersion":2},"datasetVersion":"2026-09-12T12:17:11.808Z"}