{"record":{"id":"6826194b44f29a29","repo":"projectdiscovery/nuclei","slug":"no-boundary-found-in-the-content-type","errorCode":null,"errorMessage":"no boundary found in the content type","messagePattern":"no boundary found in the content type","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/fuzz/dataformat/multipart.go","lineNumber":148,"sourceCode":"\t\treturn true\n\t})\n\tif Itererr != nil {\n\t\treturn \"\", Itererr\n\t}\n\n\t_ = w.Close()\n\treturn b.String(), nil\n}\n\n// ParseBoundary parses the boundary from the content type\nfunc (m *MultiPartForm) ParseBoundary(contentType string) error {\n\t_, params, err := mime.ParseMediaType(contentType)\n\tif err != nil {\n\t\treturn err\n\t}\n\tm.boundary = params[\"boundary\"]\n\tif m.boundary == \"\" {\n\t\treturn fmt.Errorf(\"no boundary found in the content type\")\n\t}\n\n\t// NOTE(dwisiswant0): boundary cannot exceed 70 characters according to\n\t// RFC-2046.\n\tif len(m.boundary) > 70 {\n\t\treturn fmt.Errorf(\"boundary exceeds maximum length of 70 characters\")\n\t}\n\n\treturn nil\n}\n\n// Decode decodes the data from MultiPartForm format\nfunc (m *MultiPartForm) Decode(data string) (KV, error) {\n\tif m.boundary == \"\" {\n\t\treturn KV{}, fmt.Errorf(\"boundary not set, call ParseBoundary first\")\n\t}\n\n\t// Create a buffer from the string data","sourceCodeStart":130,"sourceCodeEnd":166,"githubUrl":"https://github.com/projectdiscovery/nuclei/blob/265b3a3dec374741614e342f813c10f8b38d2bb7/pkg/fuzz/dataformat/multipart.go#L130-L166","documentation":"Error \"no boundary found in the content type\" thrown in projectdiscovery/nuclei.","triggerScenarios":"Thrown at pkg/fuzz/dataformat/multipart.go:148 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"}