If you manage several integrations, each with multiple flows, retrying errors flow by flow can become tedious. The "Consolidated errors report" template gives you a custom flow that gathers unresolved errors across your entire domain into a single report. This article covers installing the template, running it manually or on a schedule, and excluding sandbox errors from the results.
The report includes each error's retry status and the API used to retry it, and saves as a CSV file to an FTP location you configure.
Limitations
- The start date for consolidating and retrying error data must fall within the last 30 days or earlier, depending on your data retention plan.
- The generated report must be saved to an FTP location — you may need to create an FTP endpoint if one doesn't already exist.
- For longer date ranges, run the flow in shorter chunks rather than one long span. For example, to consolidate 7 days of errors, run the flow twice for two roughly 3- to 4-day halves rather than once for the full week.
- You select the time duration and domain each time you run the flow manually.
Install and configure the flow
- Download the "Consolidated errors report" template zip file to your local drive.
- Install and configure the custom flow following the standard install and configure steps for a downloaded integration zip.
Run the flow manually
- Open the Consolidated errors report tile.
-
Open the Settings tab to set the time duration and domain to consolidate.
- Enter Start date and time — in UTC, within the last 30 days or earlier depending on your data retention plan.
- Enter End date and time — in UTC, no later than the present date and time, and after the start date and time.
- Enter the Domain to consolidate errors —
integrator.iooreu.integrator.io.
If this is your first time running the flow, also complete the FTP setup below before continuing.
Set the FTP destination (first run only)
- Open the Flows tab and enable the flow.
-
Select the flow name to view its steps.
- In the Destinations & Lookups section, scroll to the Generate error report step.
-
Select Transfer to open the Edit transfer pane, and enter the FTP path in Directory path.
- Select Save.
Run the report
- Return to the Flows tab and run the flow.
- The generated CSV report saves to the FTP location you configured, with a link to retry each error.
- In the report, select the link in the retryDataLink column to open the error in the error management screen for its flow. Select a link in the retryDataLinkAPI column to view the error's details in JSON format.
Exclude sandbox errors
By default, the consolidated report includes errors from flows in your sandbox environment. To exclude them:
- Open the Flows tab and select the flow name to view its steps.
-
In the Get all flows step, select Define options
, then select the Output filter button that appears.
-
In the Define output filter pane, add the parameter
"sandbox": ""to therecordarray so thatrecord.sandboxis available as a rule option. - In the Rules section, select record.sandbox from the dropdown.
- Select the field's Settings button, set Operand type to Field and Data type to String, then select Save.
- Select not equals from the operator dropdown, then enter
truein the value box. - Select the value's Settings button, set Operand type to Value and Data type to String, then select Save.
-
Select Save & close to apply the filter, then run the flow.
The consolidated report will no longer include sandbox records.
Schedule the flow to run automatically
You can schedule the flow to run once every 24 hours instead of running it manually. Scheduling on a shorter interval risks duplicating errors across reports, so a daily schedule is recommended.
Scheduling this way consolidates only errors from up to 24 hours before the current date — for example, a flow scheduled for 8:00 AM on January 2 fetches errors from 8:00 AM January 1 through 8:00 AM January 2.
Before scheduling, update the search parameters in the Get errors step:
- Open the Flows tab and select the flow name to view its steps.
- In the Get errors step, select Lookup to open the Edit lookup pane.
-
Select Launch in the What would you like to export? section to edit the search parameters.
- Replace
{{dateAdd settings.integration.gte}}with{{dateAdd (dateFormat) -86400000}}in theoccurredAt_gtesetting. - Replace
{{dateAdd settings.integration.lte}}with{{dateAdd (dateFormat)}}in theoccurredAt_ltesetting. - Select Save, then Save & close.
- Schedule the flow to run once every 24 hours.
Switch back to running the flow manually
If you've scheduled the flow and want to revert to running it manually, reverse the search-parameter change:
- Open the Flows tab and select the flow name to view its steps.
- In the Get errors step, select Lookup to open the Edit lookup pane.
-
Select Launch in the What would you like to export? section.
- Replace
{{dateAdd (dateFormat) -86400000}}with{{dateAdd settings.integration.gte}}in theoccurredAt_gtesetting. - Replace
{{dateAdd (dateFormat)}}with{{dateAdd settings.integration.lte}}in theoccurredAt_ltesetting. - Select Save, then Save & close.
You can now run the flow manually with your own start and end date/time, as described above.