{"record":{"id":"1bc1d75a7b202fcb","repo":"flowable/flowable-engine","slug":"no-apps-deployed-with-key-for-tenant-identifier","errorCode":null,"errorMessage":"no apps deployed with key '' for tenant identifier ''","messagePattern":"no apps deployed with key '' for tenant identifier ''","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":88,"sourceCode":"            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) {\n            throw new FlowableObjectNotFoundException(\"no apps deployed with key = '\" + appDefinitionKey + \"' and version = '\" + appDefinitionVersion + \"'\", AppDefinition.class);\n        }\n        appDefinition = resolveAppDefinition(appDefinition).getAppDefinition();\n        return appDefinition;\n    }\n\n    public AppDefinitionCacheEntry resolveAppDefinition(AppDefinition appDefinition) {\n        String appDefinitionId = appDefinition.getId();\n        String deploymentId = appDefinition.getDeploymentId();","sourceCodeStart":70,"sourceCodeEnd":106,"githubUrl":"https://github.com/flowable/flowable-engine/blob/d6d39ce1c69ff244f2d9dc6af756a9b95e865586/modules/flowable-app-engine/src/main/java/org/flowable/app/engine/impl/deployer/AppDeploymentManager.java#L70-L106","documentation":"Lookup failure in AppDeploymentManager.findDeployedLatestAppDefinitionByKeyAndTenantId: no app definition is deployed under the given key for the given tenant, i.e. the key exists but not in that tenant context.","triggerScenarios":"Thrown at modules/flowable-app-engine/src/main/java/org/flowable/app/engine/impl/deployer/AppDeploymentManager.java:88 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Deploy the app into the requested tenant","Drop or correct the tenant filter so it matches the deployment's tenant id"],"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"}