# "Error getting sample data" if report is scheduled

**URL:** <https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442>\
**Category:** Ignition\
**Created:** [December 8, 2016, 12:51am UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442 "2016-12-08T00:51:26Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![collink](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@collink](https://forum.inductiveautomation.com/u/collink)\
**Post date:** [December 8, 2016, 12:51am UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/1 "2016-12-08T00:51:26Z")

</div>

If there are any schedules for my report, then I get an error message in the designer that says “Error getting sample data” when I switch to the “Design” or “Preview” tabs. The preview also fails to display. The error details are:

[quote]ExecutionException: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Error serializing parameters.  
caused by GatewayException: Error serializing parameters.  
caused by NotSerializableException: com.inductiveautomation.reporting.common.resource.ReportSchedule

Ignition v7.9.0 (b2016101208)  
Java: Oracle Corporation 1.8.0\_111[/quote]

Any idea what could be causing this?

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [December 8, 2016, 3:41pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/2 "2016-12-08T15:41:44Z")

</div>

Can you post the full stack trace of the error? I haven’t seen this issue before in reporting, so I’ll need as much detail as possible.

Do you have any parameter overrides in your schedule?

---

<div class="post-metadata">

**Author:** ![collink](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@collink](https://forum.inductiveautomation.com/u/collink)\
**Post date:** [December 8, 2016, 11:14pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/3 "2016-12-08T23:14:34Z")

</div>

I’ve attached a text file with the full error detail.

I’ve tried with and without parameter overrides, and get the same error. I’ve also tried with various actions and different schedules, and even tried disabling the schedule. I always get the error.

---

<div class="post-metadata">

**Author:** ![collink](https://avatars.discourse-cdn.com/v4/letter/c/c67d28/32.png) [@collink](https://forum.inductiveautomation.com/u/collink)\
**Post date:** [December 8, 2016, 11:46pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/4 "2016-12-08T23:46:06Z")

</div>

In fact, it doesn’t just cause an error in the designer. The report also doesn’t work in the report viewer when there is a schedule present – it says “Error serializing parameters”.

And the report emailed by the scheduled task is mostly blank. My report just contains one table, and only the the table header is rendered on the report.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [December 8, 2016, 11:58pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/5 "2016-12-08T23:58:58Z")

</div>

Wow, I’m scratching my head on this. I don’t see anything in the error report that leaps out at me. Can you email this to support so they can replicate it and get a bug ticket started?

---

<div class="post-metadata">

**Author:** ![Jonathan\_ASEcuador](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@Jonathan\_ASEcuador](https://forum.inductiveautomation.com/u/Jonathan_ASEcuador)\
**Post date:** [December 14, 2016, 12:09am UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/6 "2016-12-14T00:09:36Z")

</div>

I have the same problem when i´m trying to scheduled my report. The report in a normal window with no schedule, looks good and shows the data that i want to view, but when i try to schedule and send it via email, it shows me an “error serializing parameters”. The email is sent but it has no data, the tables are empty.  
Any idea how to solve this issue please?

---

<div class="post-metadata">

**Author:** ![Phil\_B](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@Phil\_B](https://forum.inductiveautomation.com/u/Phil_B)\
**Post date:** [January 27, 2017, 7:40pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/7 "2017-01-27T19:40:47Z")

</div>

I had this same problem a few months back. After talking with support, they had a work around to fix this issue. All I had to do was to completely remake all “query” data sources for the report.

I was also told by a coworker that this bug was fixed in version 7.8.5, so if you are able to upgrade your version it may also solve the problem.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [January 27, 2017, 7:47pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/8 "2017-01-27T19:47:19Z")

</div>

Coincidentally, I’m looking at the bug ticket right now, in a vain hope that it would be an easy Friday afternoon fix. It’s still happening in 7.8.5 / 7.9.2. ☹

---

<div class="post-metadata">

**Author:** ![Kraenbring](https://avatars.discourse-cdn.com/v4/letter/k/f4b2a3/32.png) [@Kraenbring](https://forum.inductiveautomation.com/u/Kraenbring)\
**Post date:** [March 9, 2017, 2:18pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/9 "2017-03-09T14:18:24Z")

</div>

Are there any fixes for this?

I’m now seeing it on one of my facilities, and they can no longer print batch reports (kinda important).

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [March 9, 2017, 3:09pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/10 "2017-03-09T15:09:21Z")

</div>

![:scratch:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/76d1620bec252bfac07050c889ff5a91dc8a9c25.gif ":scratch:") I can’t find the ticket now. Which either means I haven’t had enough caffeine yet this morning or it got fixed. (Equally probable.) Your best bet is to contact to support, let them know there’s an existing ticket for this, and that you’d like the status because it’s causing issues for you. That way if it’s not fixed it can get bumped up in priority (more people having the issue usually means higher priority)

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [March 9, 2017, 3:23pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/11 "2017-03-09T15:23:27Z")

</div>

Ha, the caffeine has kicked in. Apparently I fixed it about a month ago, and it should be in the 7.9.2 beta that’s coming out soon.

---

<div class="post-metadata">

**Author:** ![lstone](https://avatars.discourse-cdn.com/v4/letter/l/8e8cbc/32.png) [@lstone](https://forum.inductiveautomation.com/u/lstone)\
**Post date:** [March 13, 2017, 9:23pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/12 "2017-03-13T21:23:40Z")

</div>

[quote=“Phil\_B”]I had this same problem a few months back. After talking with support, they had a work around to fix this issue. All I had to do was to completely remake all “query” data sources for the report.

I was also told by a coworker that this bug was fixed in version 7.8.5, so if you are able to upgrade your version it may also solve the problem.[/quote]

Is this a good workaround Kathy? I have a large report that I need to get running before 7.9.2 comes out. We’re running production with 24/7 uptime so upgrading to betas is often out of the question. Thanks!

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [March 13, 2017, 9:54pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/13 "2017-03-13T21:54:34Z")

</div>

If it’s easy to recreate the data sources it’s worth a shot. I’m not sure why it would work, but I can’t argue with success…

---

<div class="post-metadata">

**Author:** ![andy1](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@andy1](https://forum.inductiveautomation.com/u/andy1)\
**Post date:** [March 21, 2017, 1:34pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/14 "2017-03-21T13:34:09Z")

</div>

I too have this problem. Recreating the data sources didn’t help.

---

<div class="post-metadata">

**Author:** ![Caleb\_Bohon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/caleb_bohon/32/3293_2.png) [@Caleb\_Bohon](https://forum.inductiveautomation.com/u/Caleb_Bohon)\
**Post date:** [March 23, 2017, 12:29am UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/15 "2017-03-23T00:29:09Z")

</div>

7.9.2-beta1 is out. (With Edge!)

---

<div class="post-metadata">

**Author:** ![brendan.curran](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@brendan.curran](https://forum.inductiveautomation.com/u/brendan.curran)\
**Post date:** [February 12, 2021, 4:44pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/16 "2021-02-12T16:44:34Z")

</div>

I would just like to point out that this issue still exists in 2021

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [February 12, 2021, 11:28pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/17 "2021-02-12T23:28:05Z")

</div>

Please send the full stack trace into support so we can fix it. Thanks!

---

<div class="post-metadata">

**Author:** ![a.beltran](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/a.beltran/32/18481_2.png) [@a.beltran](https://forum.inductiveautomation.com/u/a.beltran)\
**Post date:** [August 9, 2021, 5:09pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/18 "2021-08-09T17:09:41Z")

</div>

I got the same issue “August 2021”, seems like it’s not properly fixed at Ignition 8.1. I’m going to update this post if I find any solution for that.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [August 9, 2021, 5:21pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/19 "2021-08-09T17:21:25Z")

</div>

Still waiting on someone to send in a stack trace.

---

<div class="post-metadata">

**Author:** ![chad\_spangler](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@chad\_spangler](https://forum.inductiveautomation.com/u/chad_spangler)\
**Post date:** [December 12, 2023, 3:03pm UTC](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442/20 "2023-12-12T15:03:46Z")

</div>

I am having what I think is the same problem when I have my report open I cannot use anything from the data that I brought into the report. I am getting the "Error getting sample data" Error the details of the error are

ExecutionException: com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Read timed out  
caused by GatewayException: Read timed out  
caused by SocketTimeoutException: Read timed out

Ignition v8.1.18 (b2022061518)  
Java: Azul Systems, Inc. 11.0.15

[Next page](https://forum.inductiveautomation.com/t/error-getting-sample-data-if-report-is-scheduled/12442.md?page=2)
