{"record":{"id":"2523b7bc1d2a728a","repo":"larksuite/cli","slug":"schema-maxlength-w","errorCode":null,"errorMessage":"schema maxLength: %w","messagePattern":"schema maxLength: %w","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"shortcuts/common/typed_compile_args.go","lineNumber":463,"sourceCode":"\t\t\tif !hasValue || value == \"\" {\n\t\t\t\treturn result, fmt.Errorf(\"schema enum requires at least one value\")\n\t\t\t}\n\t\t\tresult.enum = strings.Split(value, \"|\")\n\t\tcase \"format\":\n\t\t\tif !hasValue || value == \"\" {\n\t\t\t\treturn result, fmt.Errorf(\"schema format requires a name\")\n\t\t\t}\n\t\t\tresult.format = value\n\t\tcase \"minLength\":\n\t\t\tv, err := parseNonnegativeInt(value)\n\t\t\tif err != nil {\n\t\t\t\treturn result, fmt.Errorf(\"schema minLength: %w\", err)\n\t\t\t}\n\t\t\tresult.minLength = &v\n\t\tcase \"maxLength\":\n\t\t\tv, err := parseNonnegativeInt(value)\n\t\t\tif err != nil {\n\t\t\t\treturn result, fmt.Errorf(\"schema maxLength: %w\", err)\n\t\t\t}\n\t\t\tresult.maxLength = &v\n\t\tcase \"minimum\":\n\t\t\tv, err := parseFiniteFloat(value)\n\t\t\tif err != nil {\n\t\t\t\treturn result, fmt.Errorf(\"schema minimum: %w\", err)\n\t\t\t}\n\t\t\tresult.minimum = &v\n\t\tcase \"maximum\":\n\t\t\tv, err := parseFiniteFloat(value)\n\t\t\tif err != nil {\n\t\t\t\treturn result, fmt.Errorf(\"schema maximum: %w\", err)\n\t\t\t}\n\t\t\tresult.maximum = &v\n\t\tcase \"minItems\":\n\t\t\tv, err := parseNonnegativeInt(value)\n\t\t\tif err != nil {\n\t\t\t\treturn result, fmt.Errorf(\"schema minItems: %w\", err)","sourceCodeStart":445,"sourceCodeEnd":481,"githubUrl":"https://github.com/larksuite/cli/blob/7fd6ef3c07182257ce776cdc5a614e122d5bd4b3/shortcuts/common/typed_compile_args.go#L445-L481","documentation":"Schema tag guard: the maxLength value could not be parsed as a nonnegative integer (wraps parseNonnegativeInt error).","triggerScenarios":"Thrown at shortcuts/common/typed_compile_args.go:463 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a nonnegative integer for maxLength"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7fd6ef3c07182257ce776cdc5a614e122d5bd4b3","analyzedAt":"2026-09-04T21:17:44.649Z","contentChangedAt":"2026-09-04T21:17:44.649Z","schemaVersion":2},"datasetVersion":"2026-09-12T02:17:10.037Z"}