{"record":{"id":"1ef78f0ac842590d","repo":"projectdiscovery/nuclei","slug":"non-200-ok-status-code-v-body-q","errorCode":null,"errorMessage":"non-200 OK status code: %v body: %q","messagePattern":"non-200 OK status code: (.+?) body: %q","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/reporting/trackers/linear/linear.go","lineNumber":394,"sourceCode":"\terr := json.NewEncoder(&buf).Encode(in)\n\tif err != nil {\n\t\treturn err\n\t}\n\treq, err := http.NewRequestWithContext(ctx, http.MethodPost, i.url, &buf)\n\tif err != nil {\n\t\treturn err\n\t}\n\treq.Header.Set(\"Content-Type\", \"application/json\")\n\tresp, err := i.httpclient.Do(req)\n\tif err != nil {\n\t\treturn err\n\t}\n\tdefer func() {\n\t\t_ = resp.Body.Close()\n\t}()\n\tif resp.StatusCode != http.StatusOK {\n\t\tbody, _ := io.ReadAll(resp.Body)\n\t\treturn fmt.Errorf(\"non-200 OK status code: %v body: %q\", resp.Status, body)\n\t}\n\tvar out struct {\n\t\tData   *json.Message\n\t\tErrors errorsGraphql\n\t\t//Extensions any // Unused.\n\t}\n\n\terr = json.NewDecoder(resp.Body).Decode(&out)\n\tif err != nil {\n\t\treturn err\n\t}\n\tif out.Data != nil {\n\t\terr := jsonutil.UnmarshalGraphQL(*out.Data, v)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t}\n\tif len(out.Errors) > 0 {","sourceCodeStart":376,"sourceCodeEnd":412,"githubUrl":"https://github.com/projectdiscovery/nuclei/blob/265b3a3dec374741614e342f813c10f8b38d2bb7/pkg/reporting/trackers/linear/linear.go#L376-L412","documentation":"Error \"non-200 OK status code: %v body: %q\" thrown in projectdiscovery/nuclei.","triggerScenarios":"Thrown at pkg/reporting/trackers/linear/linear.go:394 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"}