{"record":{"id":"63877309997ef5e5","repo":"VictoriaMetrics/VictoriaMetrics","slug":"cannot-parse-time-format-from-the-entry-d-q-w","errorCode":null,"errorMessage":"cannot parse time format from the entry #%d %q: %w","messagePattern":"cannot parse time format from the entry #(.+?) %q: %w","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"lib/protoparser/csvimport/column_descriptor.go","lineNumber":89,"sourceCode":"\t\t}\n\t\tif pos <= 0 {\n\t\t\treturn nil, fmt.Errorf(\"<column_pos> cannot be smaller than 1; got %d for entry #%d %q\", pos, i+1, col)\n\t\t}\n\t\tif pos > maxColumnsPerRow {\n\t\t\treturn nil, fmt.Errorf(\"<column_pos> cannot be bigger than %d; got %d for entry #%d %q\", maxColumnsPerRow, pos, i+1, col)\n\t\t}\n\t\tif pos > maxPos {\n\t\t\tmaxPos = pos\n\t\t}\n\t\ttyp := a[1]\n\t\tswitch typ {\n\t\tcase \"time\":\n\t\t\tif hasTimeCol {\n\t\t\t\treturn nil, fmt.Errorf(\"duplicate time column has been found at entry #%d %q for %q\", i+1, col, s)\n\t\t\t}\n\t\t\tparseTimestamp, err := parseTimeFormat(a[2])\n\t\t\tif err != nil {\n\t\t\t\treturn nil, fmt.Errorf(\"cannot parse time format from the entry #%d %q: %w\", i+1, col, err)\n\t\t\t}\n\t\t\tcd.ParseTimestamp = parseTimestamp\n\t\t\thasTimeCol = true\n\t\tcase \"label\":\n\t\t\tcd.TagName = a[2]\n\t\t\tif len(cd.TagName) == 0 {\n\t\t\t\treturn nil, fmt.Errorf(\"label name cannot be empty in the entry #%d %q\", i+1, col)\n\t\t\t}\n\t\tcase \"metric\":\n\t\t\tcd.MetricName = a[2]\n\t\t\tif len(cd.MetricName) == 0 {\n\t\t\t\treturn nil, fmt.Errorf(\"metric name cannot be empty in the entry #%d %q\", i+1, col)\n\t\t\t}\n\t\t\thasValueCol = true\n\t\tdefault:\n\t\t\treturn nil, fmt.Errorf(\"unknown <column_type>: %q; allowed values: time, metric, label\", typ)\n\t\t}\n\t\tpos--","sourceCodeStart":71,"sourceCodeEnd":107,"githubUrl":"https://github.com/VictoriaMetrics/VictoriaMetrics/blob/5079fb58f1e8e62113f90c945ad71586c797d770/lib/protoparser/csvimport/column_descriptor.go#L71-L107","documentation":"Wrapper in ParseColumnDescriptors around parseTimeFormat: the extension of a `time:` entry is not one of the supported formats (unix_s, unix_ms, unix_ns, rfc3339); the entry is echoed with the wrapped reason.","triggerScenarios":"Thrown at lib/protoparser/csvimport/column_descriptor.go:89 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use one of the supported time formats: `time:unix_s`, `time:unix_ms`, `time:unix_ns`, or `time:rfc3339`"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5079fb58f1e8e62113f90c945ad71586c797d770","analyzedAt":"2026-09-03T18:10:26.153Z","contentChangedAt":"2026-09-03T18:10:26.153Z","schemaVersion":2},"datasetVersion":"2026-09-08T15:18:49.778Z"}