{"record":{"id":"63f00fb621760352","repo":"dapr/dapr","slug":"app-channel-for-actor-type-s-is-nil","errorCode":null,"errorMessage":"app channel for actor type %s is nil","messagePattern":"app channel for actor type (.+?) is nil","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/actors/targets/app/transport/http/http.go","lineNumber":97,"sourceCode":"\tmsg := imReq.Message()\n\toriginalMethod := msg.GetMethod()\n\tcleanedMethod, err := method.NormalizeMethod(msg.GetMethod())\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"invalid method name: %w\", err)\n\t}\n\tmsg.Method = \"actors/\" + t.actorType + \"/\" + actorID + \"/method/\" + cleanedMethod\n\tdefer func() {\n\t\tmsg.Method = originalMethod\n\t}()\n\n\tif msg.GetHttpExtension() == nil {\n\t\treq.WithHTTPExtension(http.MethodPut, \"\")\n\t} else {\n\t\tmsg.HttpExtension.Verb = commonv1pb.HTTPExtension_PUT //nolint:nosnakecase\n\t}\n\n\tif t.appChannel == nil {\n\t\treturn nil, fmt.Errorf(\"app channel for actor type %s is nil\", t.actorType)\n\t}\n\n\tpolicyDef := t.resiliency.ActorPostLockPolicy(t.actorType, actorID)\n\tif policyDef != nil && policyDef.HasRetries() {\n\t\timReq.WithReplay(true)\n\t}\n\n\tpolicyRunner := resiliency.NewRunnerWithOptions(ctx, policyDef,\n\t\tresiliency.RunnerOpts[*invokev1.InvokeMethodResponse]{\n\t\t\tDisposer: resiliency.DisposerCloser[*invokev1.InvokeMethodResponse],\n\t\t},\n\t)\n\timRes, err := policyRunner(func(ctx context.Context) (*invokev1.InvokeMethodResponse, error) {\n\t\treturn t.appChannel.InvokeMethod(ctx, imReq, \"\")\n\t})\n\tif err != nil {\n\t\treturn nil, err\n\t}","sourceCodeStart":79,"sourceCodeEnd":115,"githubUrl":"https://github.com/dapr/dapr/blob/74ad41702745709bb15fe2114ff693b8c59bc3cc/pkg/actors/targets/app/transport/http/http.go#L79-L115","documentation":"Error \"app channel for actor type %s is nil\" thrown in dapr/dapr.","triggerScenarios":"Thrown at pkg/actors/targets/app/transport/http/http.go:97 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"74ad41702745709bb15fe2114ff693b8c59bc3cc","analyzedAt":"2026-08-16T04:22:26.543Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}