{"record":{"id":"d95512430b37261a","repo":"apache/flink","slug":"invalid-format-property-in-node","errorCode":null,"errorMessage":"Invalid 'format' property in node: {}","messagePattern":"Invalid 'format' property in node: (.+?)","errorType":"validation","errorClass":"java.lang.IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"flink-formats/flink-json/src/main/java/org/apache/flink/formats/json/JsonRowSchemaConverter.java","lineNumber":313,"sourceCode":"            final TypeInformation<?>[] types = convertTypes(location + '/' + ITEMS, items, root);\n\n            // validate that array does not contain additional items\n            if (node.has(ADDITIONAL_ITEMS)\n                    && node.get(ADDITIONAL_ITEMS).isBoolean()\n                    && node.get(ADDITIONAL_ITEMS).asBoolean()) {\n                throw new IllegalArgumentException(\n                        \"An array tuple must not allow additional items in node: \" + location);\n            }\n\n            return Types.ROW(types);\n        }\n        throw new IllegalArgumentException(\n                \"Invalid type for '\" + ITEMS + \"' property in node: \" + location);\n    }\n\n    private static TypeInformation<?> convertStringFormat(String location, JsonNode node) {\n        if (!node.isTextual()) {\n            throw new IllegalArgumentException(\n                    \"Invalid '\" + FORMAT + \"' property in node: \" + location);\n        }\n\n        switch (node.asText()) {\n            case FORMAT_DATE:\n                return Types.SQL_DATE;\n            case FORMAT_TIME:\n                return Types.SQL_TIME;\n            case FORMAT_DATE_TIME:\n                return Types.SQL_TIMESTAMP;\n            default:\n                return Types.STRING; // unlikely that we will support other formats in the future\n        }\n    }\n\n    private static TypeInformation<?> convertStringEncoding(String location, JsonNode node) {\n        if (!node.isTextual()) {\n            throw new IllegalArgumentException(","sourceCodeStart":295,"sourceCodeEnd":331,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-formats/flink-json/src/main/java/org/apache/flink/formats/json/JsonRowSchemaConverter.java#L295-L331","documentation":"Error \"Invalid 'format' property in node: {}\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Invalid 'format' property in node: the reported value.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Invalid 'format' property in node: the reported value.","solutions":["Address the cause reported by the error message: Invalid 'format' property in node: the reported value","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Invalid 'format' property in node: the reported value\") and rerun the job or command.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2f3c205e9266cb30240eb7f4fdab15cad629a70f","analyzedAt":"2026-08-14T08:48:24.518Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}