alibaba/nacos · error · NacosException
Failed to update plugin status: {}
Error message
Failed to update plugin status: {} What it means
Error "Failed to update plugin status: {}" thrown in alibaba/nacos.
Source
Thrown at maintainer-client/src/main/java/com/alibaba/nacos/maintainer/client/core/AbstractCoreMaintainerService.java:368
return result.getData();
}
@Override
public void updatePluginStatus(String pluginType, String pluginName, boolean enabled,
boolean localOnly)
throws NacosException {
Map<String, String> params = new HashMap<>(8);
params.put("pluginType", pluginType);
params.put("pluginName", pluginName);
params.put("enabled", String.valueOf(enabled));
params.put("localOnly", String.valueOf(localOnly));
HttpRequest httpRequest = new HttpRequest.Builder().setHttpMethod(HttpMethod.PUT)
.setPath(Constants.AdminApiPath.CORE_PLUGIN_ADMIN_PATH + "/status")
.setParamValue(params).build();
HttpRestResult<String> httpRestResult = clientHttpProxy.executeSyncHttpRequest(httpRequest);
if (!httpRestResult.ok()) {
throw new NacosException(httpRestResult.getCode(),
"Failed to update plugin status: " + httpRestResult.getMessage());
}
}
@Override
public void updatePluginConfig(String pluginType, String pluginName, Map<String, String> config,
boolean localOnly) throws NacosException {
Map<String, String> params = new HashMap<>(8);
params.put("pluginType", pluginType);
params.put("pluginName", pluginName);
params.put("config", JsonUtils.toJson(config));
params.put("localOnly", String.valueOf(localOnly));
HttpRequest httpRequest = new HttpRequest.Builder().setHttpMethod(HttpMethod.PUT)
.setPath(Constants.AdminApiPath.CORE_PLUGIN_ADMIN_PATH + "/config")
.setParamValue(params).build();
HttpRestResult<String> httpRestResult = clientHttpProxy.executeSyncHttpRequest(httpRequest);
if (!httpRestResult.ok()) {View on GitHub (pinned to 9b989acdf1)
Solutions
- Inspect the server logs for the underlying cause, fix it, and retry the operation.
When it happens
Trigger: Thrown at maintainer-client/src/main/java/com/alibaba/nacos/maintainer/client/core/AbstractCoreMaintainerService.java:368 when the library encounters an invalid state.
Common situations: Updating a plugin's status through the maintainer client failed.
AI-assisted analysis of alibaba/nacos@9b989acdf1 (2026-08-14).
Data as JSON: /api/errors/5764c83060a4f61d.
Report an issue: GitHub.