{"record":{"id":"f62a61e847c8d72f","repo":"apache/flink","slug":"invalid-character-in-value-for","errorCode":null,"errorMessage":"Invalid character in value for {} : {}","messagePattern":"Invalid character in value for (.+?) : (.+?)","errorType":"validation","errorClass":"IllegalConfigurationException","httpStatus":null,"severity":"error","filePath":"flink-filesystems/flink-s3-fs-base/src/main/java/org/apache/flink/fs/s3/common/AbstractS3FileSystemFactory.java","lineNumber":198,"sourceCode":"        }\n\n        LOG.debug(\"Creating S3 file system backed by {}\", name);\n        LOG.debug(\"Loading Hadoop configuration for {}\", name);\n\n        try {\n            // create the Hadoop FileSystem\n            org.apache.hadoop.conf.Configuration hadoopConfig =\n                    hadoopConfigLoader.getOrLoadHadoopConfig();\n            AbstractS3DelegationTokenReceiver.updateHadoopConfig(hadoopConfig);\n            org.apache.hadoop.fs.FileSystem fs = createHadoopFileSystem();\n            fs.initialize(getInitURI(fsUri, hadoopConfig), hadoopConfig);\n\n            // load the entropy injection settings\n            String entropyInjectionKey = flinkConfig.get(ENTROPY_INJECT_KEY_OPTION);\n            int numEntropyChars = -1;\n            if (entropyInjectionKey != null) {\n                if (entropyInjectionKey.matches(INVALID_ENTROPY_KEY_CHARS)) {\n                    throw new IllegalConfigurationException(\n                            \"Invalid character in value for \"\n                                    + ENTROPY_INJECT_KEY_OPTION.key()\n                                    + \" : \"\n                                    + entropyInjectionKey);\n                }\n                numEntropyChars = flinkConfig.get(ENTROPY_INJECT_LENGTH_OPTION);\n                if (numEntropyChars <= 0) {\n                    throw new IllegalConfigurationException(\n                            ENTROPY_INJECT_LENGTH_OPTION.key() + \" must configure a value > 0\");\n                }\n            }\n\n            final String[] localTmpDirectories =\n                    ConfigurationUtils.parseTempDirectories(flinkConfig);\n            Preconditions.checkArgument(localTmpDirectories.length > 0);\n            final String localTmpDirectory = localTmpDirectories[0];\n            final long s3minPartSize = flinkConfig.get(PART_UPLOAD_MIN_SIZE);\n            final int maxConcurrentUploads = flinkConfig.get(MAX_CONCURRENT_UPLOADS);","sourceCodeStart":180,"sourceCodeEnd":216,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-filesystems/flink-s3-fs-base/src/main/java/org/apache/flink/fs/s3/common/AbstractS3FileSystemFactory.java#L180-L216","documentation":"Error \"Invalid character in value for {} : {}\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Invalid character in value for the reported value : the reported value.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Invalid character in value for the reported value : the reported value.","solutions":["Address the cause reported by the error message: Invalid character in value for the reported value : the reported value","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Invalid character in value for the reported value : 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"}