{"record":{"id":"7d25334a2d152e29","repo":"kestra-io/kestra","slug":"bad-artifact-coordinates-expected-format-is-g","errorCode":null,"errorMessage":"Bad artifact coordinates {}, expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>","messagePattern":"Bad artifact coordinates (.+?), expected format is <groupId>:<artifactId>\\[:<extension>\\[:<classifier>\\]\\]:<version>","errorType":"validation","errorClass":"IllegalArgumentException","httpStatus":null,"severity":"error","filePath":"core/src/main/java/io/kestra/core/plugins/PluginArtifact.java","lineNumber":82,"sourceCode":"                artifactId,\n                \"jar\",\n                null,\n                version,\n                file.toURI()\n            );\n        }\n    }\n\n    /**\n     * Static helper method for constructing a new {@link PluginArtifact} from an artifact string coordinates.\n     *\n     * @param coordinates The artifact's coordinates\n     * @return a new {@link PluginArtifact}.\n     */\n    public static PluginArtifact fromCoordinates(final String coordinates) {\n        Matcher m = ARTIFACT_PATTERN.matcher(coordinates);\n        if (!m.matches()) {\n            throw new IllegalArgumentException(\n                \"Bad artifact coordinates \" + coordinates\n                    + \", expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>\"\n            );\n        }\n        return new PluginArtifact(\n            m.group(1),\n            m.group(2),\n            Optional.ofNullable(m.group(4)).filter(not(String::isEmpty)).orElse(JAR_EXTENSION),\n            Optional.ofNullable(m.group(6)).filter(not(String::isEmpty)).orElse(null),\n            \"LATEST\".equalsIgnoreCase(m.group(7)) ? \"LATEST\" : m.group(7),\n            null\n        );\n    }\n\n    /**\n     * Static helper method for constructing a new {@link PluginArtifact} from an artifact a file name.\n     *\n     * @param fileName The artifact's file name","sourceCodeStart":64,"sourceCodeEnd":100,"githubUrl":"https://github.com/kestra-io/kestra/blob/823fada9274c4f9c251ea0a516460a4f7d958032/core/src/main/java/io/kestra/core/plugins/PluginArtifact.java#L64-L100","documentation":"Error \"Bad artifact coordinates {}, expected format is <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>\" thrown in kestra-io/kestra.","triggerScenarios":"Thrown at core/src/main/java/io/kestra/core/plugins/PluginArtifact.java:82 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Rewrite the artifact coordinates in the format <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>, e.g. io.kestra.plugin:plugin-jdbc:1.0.0."],"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"}