{"record":{"id":"f798f6a9d0981b2d","repo":"dagger/dagger","slug":"request-arg-q-literal-input-w","errorCode":null,"errorMessage":"request arg %q literal input: %w","messagePattern":"request arg %q literal input: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"dagql/server.go","lineNumber":1888,"sourceCode":"\t\t\tif err != nil {\n\t\t\t\treturn Selector{}, fmt.Errorf(\"request lazy-ref arg %q value as %T (%s) using %T: %w\", argSpec.Name, argSpec.Type, argSpec.Type.Type(), argSpec.Type.Decoder(), err)\n\t\t\t}\n\t\t\targs = append(args, NamedInput{Name: argSpec.Name, Value: input})\n\t\t\tcontinue\n\t\t}\n\t\tvar frameArg *ResultCallArg\n\t\tfor _, arg := range frame.Args {\n\t\t\tif arg != nil && arg.Name == argSpec.Name {\n\t\t\t\tframeArg = arg\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t\tif frameArg == nil {\n\t\t\tcontinue\n\t\t}\n\t\tinputVal, err := inputValueFromResultCallLiteral(ctx, frameArg.Value)\n\t\tif err != nil {\n\t\t\treturn Selector{}, fmt.Errorf(\"request arg %q literal input: %w\", argSpec.Name, err)\n\t\t}\n\t\tinput, err := argSpec.Type.Decoder().DecodeInput(inputVal)\n\t\tif err != nil {\n\t\t\treturn Selector{}, fmt.Errorf(\"request arg %q value as %T (%s) using %T: %w\", argSpec.Name, argSpec.Type, argSpec.Type.Type(), argSpec.Type.Decoder(), err)\n\t\t}\n\t\targs = append(args, NamedInput{Name: argSpec.Name, Value: input})\n\t}\n\treturn Selector{\n\t\tField: frame.Field,\n\t\tArgs:  args,\n\t\tNth:   int(frame.Nth),\n\t\tView:  view,\n\t}, nil\n}\n\n// Select evaluates a series of chained field selections starting from the\n// given object and assigns the final result value into dest.\n//","sourceCodeStart":1870,"sourceCodeEnd":1906,"githubUrl":"https://github.com/dagger/dagger/blob/82ba2681dbe30d3547a1dc50ea495900ab5b6047/dagql/server.go#L1870-L1906","documentation":"Wrapped in selectorFromLoadedCall when converting a frame argument's ResultCallLiteral back to an Input value fails (inputValueFromResultCallLiteral). The stored literal form cannot be mapped to a runtime input — e.g. a result ref literal with no resolvable result.","triggerScenarios":"Thrown at dagql/server.go:1888 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the wrapped literal-conversion error","Ensure referenced results are loaded before building the selector","Store plain literals for arguments that don't need result identity"],"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"}