diff --git a/x-pack/plugins/synthetics/server/synthetics_service/synthetics_service.ts b/x-pack/plugins/synthetics/server/synthetics_service/synthetics_service.ts index aabedbe96443b..1602a7d29f12f 100644 --- a/x-pack/plugins/synthetics/server/synthetics_service/synthetics_service.ts +++ b/x-pack/plugins/synthetics/server/synthetics_service/synthetics_service.ts @@ -423,6 +423,9 @@ export class SyntheticsService { }; for await (const result of finder.find()) { + if (result.saved_objects.length === 0) { + return; + } try { if (!output) { output = await this.getOutput();