{"record":{"id":"e3f38b77b4260c93","repo":"prestodb/presto","slug":"unrecognized-connection-property-s","errorCode":null,"errorMessage":"Unrecognized connection property '%s'","messagePattern":"Unrecognized connection property '(.+?)'","errorType":"validation","errorClass":"SQLException","httpStatus":null,"severity":"error","filePath":"presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoDriverUri.java","lineNumber":457,"sourceCode":"        setProperties(result, defaults);\n        setProperties(result, urlProperties);\n        setProperties(result, suppliedProperties);\n        return result;\n    }\n\n    private static void setProperties(Properties properties, Map<String, String> values)\n    {\n        for (Entry<String, String> entry : values.entrySet()) {\n            properties.setProperty(entry.getKey(), entry.getValue());\n        }\n    }\n\n    private static void validateConnectionProperties(Properties connectionProperties)\n            throws SQLException\n    {\n        for (String propertyName : connectionProperties.stringPropertyNames()) {\n            if (ConnectionProperties.forKey(propertyName) == null) {\n                throw new SQLException(format(\"Unrecognized connection property '%s'\", propertyName));\n            }\n        }\n\n        for (ConnectionProperty<?> property : ConnectionProperties.allProperties()) {\n            property.validate(connectionProperties);\n        }\n    }\n\n    @VisibleForTesting\n    static void setRedirectHandler(RedirectHandler handler)\n    {\n        REDIRECT_HANDLER.set(requireNonNull(handler, \"handler is null\"));\n    }\n}\n","sourceCodeStart":439,"sourceCodeEnd":472,"githubUrl":"https://github.com/prestodb/presto/blob/55bb57d202de3b926896fa966c2c4a44c779634e/presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoDriverUri.java#L439-L472","documentation":"validateConnectionProperties checks every key of the merged connection properties against the set of known property names in ConnectionProperties. It fires when a property key (from the URL query or the driver Properties argument) is not a recognized Presto JDBC option — typically a typo like 'users' instead of 'user'.","triggerScenarios":"Thrown at presto-jdbc/src/main/java/com/facebook/presto/jdbc/PrestoDriverUri.java:457 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the property name against the documented Presto JDBC connection properties and fix the typo","Remove the unknown property if it was not intended for Presto","Upgrade the driver version if the property was added in a newer release"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"55bb57d202de3b926896fa966c2c4a44c779634e","analyzedAt":"2026-09-04T12:50:26.162Z","contentChangedAt":"2026-09-04T12:50:26.162Z","schemaVersion":2},"datasetVersion":"2026-09-11T21:17:09.523Z"}