{"record":{"id":"28ed175bc05fb3ba","repo":"apache/flink","slug":"unsupported-input-message-s","errorCode":null,"errorMessage":"Unsupported input message: %s","messagePattern":"Unsupported input message: (.+?)","errorType":"exception","errorClass":"UnsupportedOperationException","httpStatus":null,"severity":"error","filePath":"flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/batch/compact/BatchCompactCoordinator.java","lineNumber":91,"sourceCode":"\n    @Override\n    public void open() throws Exception {\n        fs = fsFactory.get();\n        inputFiles = new HashMap<>();\n        element = new StreamRecord<>(null);\n    }\n\n    @Override\n    public void processElement(StreamRecord<CoordinatorInput> element) throws Exception {\n        CoordinatorInput coordinatorInput = element.getValue();\n        if (coordinatorInput instanceof InputFile) {\n            InputFile file = (InputFile) coordinatorInput;\n            // collect the written files\n            inputFiles\n                    .computeIfAbsent(file.getPartition(), k -> new ArrayList<>())\n                    .add(file.getFile());\n        } else {\n            throw new UnsupportedOperationException(\n                    \"Unsupported input message: \" + coordinatorInput);\n        }\n    }\n\n    @Override\n    public void endInput() throws Exception {\n        for (Map.Entry<String, List<Path>> partitionFiles : inputFiles.entrySet()) {\n            compactPartitionFiles(partitionFiles.getKey(), partitionFiles.getValue());\n        }\n    }\n\n    @Override\n    public void close() throws Exception {\n        inputFiles.clear();\n    }\n\n    private void compactPartitionFiles(String partition, List<Path> paths) throws IOException {\n        if (paths.isEmpty()) {","sourceCodeStart":73,"sourceCodeEnd":109,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/table/batch/compact/BatchCompactCoordinator.java#L73-L109","documentation":"Error \"Unsupported input message: %s\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Unsupported input message: the reported value.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Unsupported input message: the reported value.","solutions":["Address the cause reported by the error message: Unsupported input message: the reported value","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Unsupported input message: 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"}