{"record":{"id":"5764c83060a4f61d","repo":"alibaba/nacos","slug":"failed-to-update-plugin-status","errorCode":null,"errorMessage":"Failed to update plugin status: {}","messagePattern":"Failed to update plugin status: (.+?)","errorType":"exception","errorClass":"NacosException","httpStatus":null,"severity":"error","filePath":"maintainer-client/src/main/java/com/alibaba/nacos/maintainer/client/core/AbstractCoreMaintainerService.java","lineNumber":368,"sourceCode":"        return result.getData();\n    }\n    \n    @Override\n    public void updatePluginStatus(String pluginType, String pluginName, boolean enabled,\n        boolean localOnly)\n        throws NacosException {\n        Map<String, String> params = new HashMap<>(8);\n        params.put(\"pluginType\", pluginType);\n        params.put(\"pluginName\", pluginName);\n        params.put(\"enabled\", String.valueOf(enabled));\n        params.put(\"localOnly\", String.valueOf(localOnly));\n        \n        HttpRequest httpRequest = new HttpRequest.Builder().setHttpMethod(HttpMethod.PUT)\n            .setPath(Constants.AdminApiPath.CORE_PLUGIN_ADMIN_PATH + \"/status\")\n            .setParamValue(params).build();\n        HttpRestResult<String> httpRestResult = clientHttpProxy.executeSyncHttpRequest(httpRequest);\n        if (!httpRestResult.ok()) {\n            throw new NacosException(httpRestResult.getCode(),\n                \"Failed to update plugin status: \" + httpRestResult.getMessage());\n        }\n    }\n    \n    @Override\n    public void updatePluginConfig(String pluginType, String pluginName, Map<String, String> config,\n        boolean localOnly) throws NacosException {\n        Map<String, String> params = new HashMap<>(8);\n        params.put(\"pluginType\", pluginType);\n        params.put(\"pluginName\", pluginName);\n        params.put(\"config\", JsonUtils.toJson(config));\n        params.put(\"localOnly\", String.valueOf(localOnly));\n        \n        HttpRequest httpRequest = new HttpRequest.Builder().setHttpMethod(HttpMethod.PUT)\n            .setPath(Constants.AdminApiPath.CORE_PLUGIN_ADMIN_PATH + \"/config\")\n            .setParamValue(params).build();\n        HttpRestResult<String> httpRestResult = clientHttpProxy.executeSyncHttpRequest(httpRequest);\n        if (!httpRestResult.ok()) {","sourceCodeStart":350,"sourceCodeEnd":386,"githubUrl":"https://github.com/alibaba/nacos/blob/9b989acdf181d00898f2e8839257bb2b2a3cefe3/maintainer-client/src/main/java/com/alibaba/nacos/maintainer/client/core/AbstractCoreMaintainerService.java#L350-L386","documentation":"Error \"Failed to update plugin status: {}\" thrown in alibaba/nacos.","triggerScenarios":"Thrown at maintainer-client/src/main/java/com/alibaba/nacos/maintainer/client/core/AbstractCoreMaintainerService.java:368 when the library encounters an invalid state.","commonSituations":"Updating a plugin's status through the maintainer client failed.","solutions":["Inspect the server logs for the underlying cause, fix it, and retry the operation."],"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"}