{"record":{"id":"a6a0d2e6134e8294","repo":"alibaba/nacos","slug":"please-check-dataid-group-or-namespaceid","errorCode":null,"errorMessage":"Please check dataId, group or namespaceId.","messagePattern":"Please check dataId, group or namespaceId\\.","errorType":"exception","errorClass":"AccessException","httpStatus":null,"severity":"error","filePath":"config/src/main/java/com/alibaba/nacos/config/server/service/HistoryService.java","lineNumber":132,"sourceCode":"    \n    /**\n     * Query configs list by namespace.\n     */\n    public List<ConfigInfoWrapper> getConfigListByNamespace(String namespaceId) {\n        return configInfoPersistService.queryConfigInfoByNamespace(namespaceId);\n    }\n    \n    /**\n     * Check if the input dataId,group and namespaceId match the history config.\n     */\n    private void checkHistoryInfoPermission(ConfigHistoryInfo configHistoryInfo, String dataId,\n        String group,\n        String namespaceId) throws AccessException {\n        if (!Objects.equals(configHistoryInfo.getDataId(), dataId)\n            || !Objects.equals(configHistoryInfo.getGroup(),\n                group)\n            || !Objects.equals(configHistoryInfo.getTenant(), namespaceId)) {\n            throw new AccessException(\"Please check dataId, group or namespaceId.\");\n        }\n    }\n    \n    /**\n     * Query the detailed config history info pair, including the original version and the updated version.\n     */\n    public ConfigHistoryInfoDetail getConfigHistoryInfoDetail(String dataId, String group,\n        String namespaceId, Long nid)\n        throws AccessException {\n        ConfigHistoryInfo configHistoryInfo =\n            historyConfigInfoPersistService.detailConfigHistory(nid);\n        if (Objects.isNull(configHistoryInfo)) {\n            return null;\n        }\n        \n        // check if history config match the input\n        checkHistoryInfoPermission(configHistoryInfo, dataId, group, namespaceId);\n        ","sourceCodeStart":114,"sourceCodeEnd":150,"githubUrl":"https://github.com/alibaba/nacos/blob/9b989acdf181d00898f2e8839257bb2b2a3cefe3/config/src/main/java/com/alibaba/nacos/config/server/service/HistoryService.java#L114-L150","documentation":"Error \"Please check dataId, group or namespaceId.\" thrown in alibaba/nacos.","triggerScenarios":"Thrown at config/src/main/java/com/alibaba/nacos/config/server/service/HistoryService.java:132 when the library encounters an invalid state.","commonSituations":"Querying config history with an invalid dataId, group, or namespaceId.","solutions":["Review the input and runtime state for history query parameters, correct the reported problem, and retry."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9b989acdf181d00898f2e8839257bb2b2a3cefe3","analyzedAt":"2026-08-14T07:17:31.569Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}