{"record":{"id":"9c89b16217a97a4f","repo":"kestra-io/kestra","slug":"invalid-configuration-for-s-s-error-s","errorCode":null,"errorMessage":"Invalid configuration for %s '%s'. Error: '%s'","messagePattern":"Invalid configuration for (.+?) '(.+?)'\\. Error: '(.+?)'","errorType":"validation","errorClass":"KestraRuntimeException","httpStatus":null,"severity":"error","filePath":"core/src/main/java/io/kestra/core/plugins/AbstractPluginInterfaceFactory.java","lineNumber":128,"sourceCode":"            plugin = (T) JacksonMapper.toMap(nonEmptyConfig, pluginClass);\n        } catch (Exception e) {\n            throw new KestraRuntimeException(\n                String.format(\"Failed to create %s '%s'. Error: %s\", configDisplayName(), pluginId, e.getMessage())\n            );\n        }\n\n        // Validate configuration.\n        Set<ConstraintViolation<T>> violations;\n        try {\n            violations = validator.validate(plugin);\n        } catch (ConstraintViolationException e) {\n            throw new KestraRuntimeException(\n                String.format(\"Failed to validate configuration for %s '%s'. Error: %s\", configDisplayName(), pluginId, e.getMessage())\n            );\n        }\n        if (!violations.isEmpty()) {\n            ConstraintViolationException e = new ConstraintViolationException(violations);\n            throw new KestraRuntimeException(\n                String.format(\"Invalid configuration for %s '%s'. Error: '%s'\", configDisplayName(), pluginId, e.getMessage()), e\n            );\n        }\n\n        return plugin;\n    }\n\n    /**\n     * Builds the exception thrown when no plugin matches the requested id. Overridable so subclasses\n     * can enrich the message (e.g. EE surfacing a license-gated type as \"installed but not enabled\").\n     *\n     * @param pluginId the requested (unmatched) plugin id.\n     * @return the exception to throw.\n     */\n    protected KestraRuntimeException notFoundException(final String pluginId) {\n        return new KestraRuntimeException(\n            \"No %s can be found for '%s=%s'. Supported types are: %s\".formatted(\n                lookupDisplayName(), typeProperty(), pluginId, getLoggableTypeIds()","sourceCodeStart":110,"sourceCodeEnd":146,"githubUrl":"https://github.com/kestra-io/kestra/blob/823fada9274c4f9c251ea0a516460a4f7d958032/core/src/main/java/io/kestra/core/plugins/AbstractPluginInterfaceFactory.java#L110-L146","documentation":"Error \"Invalid configuration for %s '%s'. Error: '%s'\" thrown in kestra-io/kestra.","triggerScenarios":"Thrown at core/src/main/java/io/kestra/core/plugins/AbstractPluginInterfaceFactory.java:128 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the validation error detail in the message to identify the offending property, then correct the plugin configuration in your flow or Kestra configuration.","Check the plugin's documentation for required and allowed configuration properties, and remove unknown or mis-typed properties."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"823fada9274c4f9c251ea0a516460a4f7d958032","analyzedAt":"2026-08-14T06:15:17.947Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}