# Scheduled Reports fail if report has zero results

**URL:** <https://community.spicecrm.io/t/scheduled-reports-fail-if-report-has-zero-results/763>\
**Category:** Uncategorized\
**Created:** [March 5, 2025, 3:01pm UTC](https://community.spicecrm.io/t/scheduled-reports-fail-if-report-has-zero-results/763 "2025-03-05T15:01:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![processflow](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.spicecrm.io/processflow/32/379_2.png) [@processflow](https://community.spicecrm.io/u/processflow)\
**Post date:** [March 5, 2025, 3:01pm UTC](https://community.spicecrm.io/t/scheduled-reports-fail-if-report-has-zero-results/763/1 "2025-03-05T15:01:33Z")

</div>

Scheduled Reports fail if report has zero results

- it is expected that a report with zero results is still a report outcome and should be delivered via the schedule report function in Kreporter via email
- The ‘Scheduler Job’ fails when a report with zero results is being processed. We tested same report with different fitlers to ensure results and then the scheduler job was successful. We are able to verify that the scheduler job fails if results are zero in the report

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/spicecrm/original/1X/7020afab4a42416b3bda8d56a8f858c4e3e5ff3b.jpeg)

Environment  
version 2024.01.001.1741031526671

---

<div class="post-metadata">

**Author:** ![rsp](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@rsp](https://community.spicecrm.io/u/rsp)\
**Post date:** [March 7, 2025, 3:59pm UTC](https://community.spicecrm.io/t/scheduled-reports-fail-if-report-has-zero-results/763/2 "2025-03-07T15:59:49Z")

</div>

[Christian Knoll - YouTube](https://www.youtube.com/@theKReporter/videos)

Maybe code is not handing the exception. Since it has zero records in it.

---

<div class="post-metadata">

**Author:** ![processflow](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.spicecrm.io/processflow/32/379_2.png) [@processflow](https://community.spicecrm.io/u/processflow)\
**Post date:** [March 7, 2025, 4:55pm UTC](https://community.spicecrm.io/t/scheduled-reports-fail-if-report-has-zero-results/763/3 "2025-03-07T16:55:30Z")

</div>

Hello

Thanks for your input here.

I am checking with @christian from SpiceCRM on this matter as Kreporters as a plugin for SugarCRM/SuiteCRM reached end of life and is now solely a component for native reporting in SpiceCRM. I will reference you link for clues - thank you very much.

---

<div class="post-metadata">

**Author:** ![rsp](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@rsp](https://community.spicecrm.io/u/rsp)\
**Post date:** [March 7, 2025, 5:34pm UTC](https://community.spicecrm.io/t/scheduled-reports-fail-if-report-has-zero-results/763/4 "2025-03-07T17:34:30Z")

</div>

Thank you! What kinds of reports you can generate in the kreport of spicecrm?
