{"record":{"id":"82a90330f6bf3a89","repo":"projectdiscovery/nuclei","slug":"replace-interactsh-marker-q-w","errorCode":null,"errorMessage":"replace interactsh marker %q: %w","messagePattern":"replace interactsh marker %q: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/protocols/common/render/render.go","lineNumber":123,"sourceCode":"\tfor key, value := range input.Data {\n\t\tvalues[key] = value\n\t}\n\n\treturn MapResult{Values: values, InteractURLs: urls}, nil\n}\n\n// ReplaceInteractshMarkers allocates Interactsh URLs for markers that appear in\n// template text. It does not evaluate DSL expressions or inspect values.\nfunc ReplaceInteractshMarkers(text string, source URLSource, interactURLs []string) (Result, error) {\n\turls := append([]string(nil), interactURLs...)\n\tif source == nil {\n\t\treturn Result{Text: text, InteractURLs: urls}, nil\n\t}\n\n\tfor _, interactshURLMarker := range marker.FindInteractshURLMarkers(text) {\n\t\turl, err := source.NewURLWithData(interactshURLMarker)\n\t\tif err != nil {\n\t\t\treturn Result{Text: text, InteractURLs: urls}, fmt.Errorf(\"replace interactsh marker %q: %w\", interactshURLMarker, err)\n\t\t}\n\n\t\turls = append(urls, url)\n\t\ttext = strings.Replace(text, interactshURLMarker, url, 1)\n\t}\n\n\treturn Result{Text: text, InteractURLs: urls}, nil\n}\n","sourceCodeStart":105,"sourceCodeEnd":132,"githubUrl":"https://github.com/projectdiscovery/nuclei/blob/265b3a3dec374741614e342f813c10f8b38d2bb7/pkg/protocols/common/render/render.go#L105-L132","documentation":"Error \"replace interactsh marker %q: %w\" thrown in projectdiscovery/nuclei.","triggerScenarios":"Thrown at pkg/protocols/common/render/render.go:123 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":"265b3a3dec374741614e342f813c10f8b38d2bb7","analyzedAt":"2026-08-15T20:05:51.855Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}