"preview_report" in Report schedules is returning error "failed to get preview for job <job name>"
search cancel

"preview_report" in Report schedules is returning error "failed to get preview for job <job name>"

book

Article ID: 261031

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

On the Operator Console go to "Settings" then "Report Schedules". "preview report" is returning error "failed to get preview for job <job name>"

Environment

Release: 20.4
Component: Operator Console report scheduler

Resolution

The issue is the source report no longer exists with the same name if you renamed the source report ( Metric Viewers, SLA, performance) then you have to update the "Report schedules" with the new report name.
An example:

1- I have a report scheduled for Metric Viewers named (DB Metric View), it shows the report preview without any issue.



2- I went to the metric viewer  DB Metric View and rename it to DB Metric View 2

3- After the metric is renamed, I went back to the report schedules and tried to run the preview report and it failed because the report DB Metric View no longer exists.

4- Then I updated my report with the new name of the DB Metric View 2 and the preview report worked as expected.