{"record":{"id":"4d0d2bc09069fb99","repo":"flowable/flowable-engine","slug":"no-apps-deployed-with-key","errorCode":null,"errorMessage":"no apps deployed with key ''","messagePattern":"no apps deployed with key ''","errorType":"exception","errorClass":"FlowableObjectNotFoundException","httpStatus":404,"severity":"error","filePath":"modules/flowable-app-engine/src/main/java/org/flowable/app/engine/impl/deployer/AppDeploymentManager.java","lineNumber":79,"sourceCode":"\n        AppDefinitionCacheEntry cacheEntry = appDefinitionCache.get(appDefinitionId);\n        AppDefinition appDefinition = cacheEntry != null ? cacheEntry.getAppDefinition() : null;\n\n        if (appDefinition == null) {\n            appDefinition = appDefinitionEntityManager.findById(appDefinitionId);\n            if (appDefinition == null) {\n                throw new FlowableObjectNotFoundException(\"no deployed app definition found with id '\" + appDefinitionId + \"'\", AppDefinition.class);\n            }\n            appDefinition = resolveAppDefinition(appDefinition).getAppDefinition();\n        }\n        return appDefinition;\n    }\n\n    public AppDefinition findDeployedLatestAppDefinitionByKey(String appDefinitionKey) {\n        AppDefinition appDefinition = appDefinitionEntityManager.findLatestAppDefinitionByKey(appDefinitionKey);\n\n        if (appDefinition == null) {\n            throw new FlowableObjectNotFoundException(\"no apps deployed with key '\" + appDefinitionKey + \"'\", AppDefinition.class);\n        }\n        appDefinition = resolveAppDefinition(appDefinition).getAppDefinition();\n        return appDefinition;\n    }\n\n    public AppDefinition findDeployedLatestAppDefinitionByKeyAndTenantId(String appDefinitionKey, String tenantId) {\n        AppDefinition appDefinition = appDefinitionEntityManager.findLatestAppDefinitionByKeyAndTenantId(appDefinitionKey, tenantId);\n        if (appDefinition == null) {\n            throw new FlowableObjectNotFoundException(\"no apps deployed with key '\" + appDefinitionKey + \"' for tenant identifier '\" + tenantId + \"'\", AppDefinition.class);\n        }\n        appDefinition = resolveAppDefinition(appDefinition).getAppDefinition();\n        return appDefinition;\n    }\n\n    public AppDefinition findDeployedAppDefinitionByKeyAndVersionAndTenantId(String appDefinitionKey, Integer appDefinitionVersion, String tenantId) {\n        AppDefinition appDefinition = (AppDefinitionEntity) appDefinitionEntityManager\n                .findAppDefinitionByKeyAndVersionAndTenantId(appDefinitionKey, appDefinitionVersion, tenantId);\n        if (appDefinition == null) {","sourceCodeStart":61,"sourceCodeEnd":97,"githubUrl":"https://github.com/flowable/flowable-engine/blob/d6d39ce1c69ff244f2d9dc6af756a9b95e865586/modules/flowable-app-engine/src/main/java/org/flowable/app/engine/impl/deployer/AppDeploymentManager.java#L61-L97","documentation":"Lookup failure in AppDeploymentManager.findDeployedLatestAppDefinitionByKey: no app definition could be resolved for the given key, so there is no 'latest' deployment for it. Typically means the app was never deployed under that key, or under the tenant being queried.","triggerScenarios":"Thrown at modules/flowable-app-engine/src/main/java/org/flowable/app/engine/impl/deployer/AppDeploymentManager.java:79 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the app key spelling against the deployed app definitions","Deploy at least one version of the app with that key"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d6d39ce1c69ff244f2d9dc6af756a9b95e865586","analyzedAt":"2026-09-11T06:41:19.413Z","contentChangedAt":"2026-09-11T06:41:19.413Z","schemaVersion":2},"datasetVersion":"2026-09-18T11:17:12.947Z"}