{"record":{"id":"f534262d335075d4","repo":"alibaba/nacos","slug":"5034","errorCode":"5034","errorMessage":"Configuration content size limit exceeded [group=%s, namespaceId=%s].","messagePattern":"Configuration content size limit exceeded \\[group=(.+?), namespaceId=(.+?)\\]\\.","errorType":"exception","errorClass":"NacosException","httpStatus":null,"severity":"error","filePath":"config/src/main/java/com/alibaba/nacos/config/server/aspect/CapacityManagementAspect.java","lineNumber":120,"sourceCode":"        return pjp.proceed();\n    }\n    \n    /**\n     * Update operation: open the limitation of capacity management, and it will check the size of content.\n     *\n     * @throws Throwable Throws Exception when actually operate.\n     */\n    private Object do4Update(ProceedingJoinPoint pjp, String dataId, String group,\n        String namespaceId, String content) throws Throwable {\n        if (!PropertyUtil.isCapacityLimitCheck()) {\n            return pjp.proceed();\n        }\n        try {\n            boolean hasTenant = StringUtils.isNotBlank(namespaceId);\n            Capacity capacity = getCapacity(group, namespaceId, hasTenant);\n            if (isSizeLimited(group, namespaceId, getCurrentSize(content), hasTenant, false,\n                capacity)) {\n                throw new NacosException(ErrorCode.OVER_MAX_SIZE.getCode(),\n                    String.format(\n                        \"Configuration content size limit exceeded [group=%s, namespaceId=%s].\",\n                        group, namespaceId));\n            }\n        } catch (Exception e) {\n            LOGGER.error(\n                \"[CapacityManagement] Error during update operation for dataId: {}, group: {}, namespaceId: {}\",\n                dataId, group, namespaceId, e);\n            throw e;\n        }\n        return pjp.proceed();\n    }\n    \n    /**\n     * Write operation. Step 1: count whether to open the limitation checking function for capacity management; Step 2:\n     * open limitation checking capacity management and check size of content and quota;\n     *\n     * @throws Throwable Exception.","sourceCodeStart":102,"sourceCodeEnd":138,"githubUrl":"https://github.com/alibaba/nacos/blob/9b989acdf181d00898f2e8839257bb2b2a3cefe3/config/src/main/java/com/alibaba/nacos/config/server/aspect/CapacityManagementAspect.java#L102-L138","documentation":"Error \"Configuration content size limit exceeded [group=%s, namespaceId=%s].\" thrown in alibaba/nacos.","triggerScenarios":"Thrown at config/src/main/java/com/alibaba/nacos/config/server/aspect/CapacityManagementAspect.java:120 when the library encounters an invalid state.","commonSituations":"Publishing config content larger than the allowed capacity for the group/namespace.","solutions":["Reduce the size or count of the input so it stays within the configured limit."],"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"}