{"record":{"id":"eceb8756847d81cb","repo":"apache/flink","slug":"failed-to-deserialize-json-s-eceb87","errorCode":null,"errorMessage":"Failed to deserialize JSON '%s'.","messagePattern":"Failed to deserialize JSON '(.+?)'\\.","errorType":"exception","errorClass":"java.io.IOException","httpStatus":null,"severity":"error","filePath":"flink-formats/flink-json/src/main/java/org/apache/flink/formats/json/JsonRowDataDeserializationSchema.java","lineNumber":98,"sourceCode":"                            out.collect(result);\n                        }\n                    } catch (Throwable t) {\n                        if (!ignoreParseErrors) {\n                            // will be caught by outer try-catch\n                            throw t;\n                        }\n                        logParseErrorIfDebugEnabled(message, t);\n                    }\n                }\n            } else {\n                RowData result = convertToRowData(root);\n                if (result != null) {\n                    out.collect(result);\n                }\n            }\n        } catch (Throwable t) {\n            if (!ignoreParseErrors) {\n                throw new IOException(\n                        format(\"Failed to deserialize JSON '%s'.\", new String(message)), t);\n            }\n            logParseErrorIfDebugEnabled(message, t);\n        }\n    }\n\n    public JsonNode deserializeToJsonNode(byte[] message) throws IOException {\n        return objectMapper.readTree(message);\n    }\n\n    public RowData convertToRowData(JsonNode message) {\n        return (RowData) runtimeConverter.convert(message);\n    }\n}\n","sourceCodeStart":80,"sourceCodeEnd":113,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-formats/flink-json/src/main/java/org/apache/flink/formats/json/JsonRowDataDeserializationSchema.java#L80-L113","documentation":"Error \"Failed to deserialize JSON '%s'.\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Failed to deserialize JSON 'the reported value'.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Failed to deserialize JSON 'the reported value'.","solutions":["Address the cause reported by the error message: Failed to deserialize JSON 'the reported value'.","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Failed to deserialize JSON '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"}