diff --git a/x-pack/plugins/data_usage/server/services/autoops_api.ts b/x-pack/plugins/data_usage/server/services/autoops_api.ts index 7f6dd5a025a77..8f371d3004def 100644 --- a/x-pack/plugins/data_usage/server/services/autoops_api.ts +++ b/x-pack/plugins/data_usage/server/services/autoops_api.ts @@ -146,7 +146,7 @@ export class AutoOpsAPIService { }, } ); - throw new AutoOpsError(withRequestIdMessage(AUTO_OPS_FAILED_ERROR)); + throw new AutoOpsError(withRequestIdMessage(AUTO_OPS_REQUEST_FAILED_PREFIX)); } else if (error.request) { // The request was made but no response was received this.logger.error(