{"record":{"id":"245c7e4c4618825a","repo":"vxcontrol/pentagi","slug":"invalid-int-value-s","errorCode":null,"errorMessage":"invalid int value: %s","messagePattern":"invalid int value: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"backend/pkg/tools/args.go","lineNumber":396,"sourceCode":"\nfunc (b *Bool) String() string {\n\tif b == nil {\n\t\treturn \"\"\n\t}\n\treturn strconv.FormatBool(bool(*b))\n}\n\ntype Int64 int64\n\nfunc (i *Int64) UnmarshalJSON(data []byte) error {\n\tsdata := strings.Trim(strings.ToLower(string(data)), \"' \\\"\\n\\r\\t\")\n\tif sdata == \"\" {\n\t\t*i = 0\n\t\treturn nil\n\t}\n\tnum, err := strconv.ParseInt(sdata, 10, 64)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"invalid int value: %s\", sdata)\n\t}\n\t*i = Int64(num)\n\treturn nil\n}\n\nfunc (i *Int64) MarshalJSON() ([]byte, error) {\n\tif i == nil {\n\t\treturn []byte(\"0\"), nil\n\t}\n\treturn []byte(strconv.FormatInt(int64(*i), 10)), nil\n}\n\nfunc (i *Int64) Int() int {\n\tif i == nil {\n\t\treturn 0\n\t}\n\treturn int(*i)\n}","sourceCodeStart":378,"sourceCodeEnd":414,"githubUrl":"https://github.com/vxcontrol/pentagi/blob/ea665308baaff015b226f308438a68d929d0f29b/backend/pkg/tools/args.go#L378-L414","documentation":"Error \"invalid int value: %s\" thrown in vxcontrol/pentagi.","triggerScenarios":"Thrown at backend/pkg/tools/args.go:396 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":"ea665308baaff015b226f308438a68d929d0f29b","analyzedAt":"2026-09-01T14:16:31.421Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}