# Watcher reporting mail attachment: Visualizations in PDF report not fully loaded

**URL:** <https://discuss.elastic.co/t/watcher-reporting-mail-attachment-visualizations-in-pdf-report-not-fully-loaded/302930>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-reporting\
**Created:** [April 21, 2022, 3:05pm UTC](https://discuss.elastic.co/t/watcher-reporting-mail-attachment-visualizations-in-pdf-report-not-fully-loaded/302930 "2022-04-21T15:05:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![patricia\_kraft](https://avatars.discourse-cdn.com/v4/letter/p/85e7bf/32.png) [@patricia\_kraft](https://discuss.elastic.co/u/patricia_kraft)\
**Post date:** [April 21, 2022, 3:05pm UTC](https://discuss.elastic.co/t/watcher-reporting-mail-attachment-visualizations-in-pdf-report-not-fully-loaded/302930/1 "2022-04-21T15:05:53Z")

</div>

Hi there,

we are using automatically generated PDF reports to send out an email once a day with the PDF report (from one dashboard) as an attachment. This worked fine in version 7.5.2, but since we upgraded to 7.16.3 some of the visualizations in the PDF are not fully loaded. Obviously the watcher does not wait for them to be loaded before sending the report. In the PDF they look like this:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/8/08d46941d276f7fe48f469a578ff6ce2ecef5c74.png)

When generating the report over Kibana (Dashboard --\> Share --\> PDF Reports --\> Generate PDF) everything works as expected and all visualizations are fully loaded. But when I use the the POST URL (Dashboard --\> Share --\> PDF Reports --\> Advanced --\> Copy POST URL) to put it in my watcher definition, not all visualizations are fully loaded.

Are there any additional parameter/timeouts or anything else that I can set to force it to wait for completion before sending the report?

This is my watcher definition:

```auto
{
  "trigger": {
    "schedule": {
      "weekly": [
        {
          "on": [
            "MON",
            "TUE",
            "WED",
            "THU",
            "FRI",
            "SAT"
          ],
          "at": [
            "7:05"
          ]
        }
      ]
    }
  },
  "input": {
    "none": {}
  },
  "condition": {
    "always": {}
  },
  "actions": {
    "email_report": {
      "email": {
        "profile": "standard",
        "attachments": {
          "report.pdf": {
            "reporting": {
              "url": "THE_POST_URL_FROM_SHARE",
              "auth": {
                "basic": {
                  "username": "xxxx",
                  "password": "xxxx"
                }
              }
            }
          }
        },
        "to": [
          "someone@company.com"
        ],
        "subject": "Report",
        "body": {
          "text": "This is your daily report."
        }
      }
    }
  }
}

```

I am happy about any tips/ideas.

Thanks in advance,  
Patricia

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 19, 2022, 3:06pm UTC](https://discuss.elastic.co/t/watcher-reporting-mail-attachment-visualizations-in-pdf-report-not-fully-loaded/302930/2 "2022-05-19T15:06:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
