Schedule fails with the error: “Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached. Operation timed out after 30002 milliseconds with 0 bytes received”

Problem

The schedule fails with the following error message:

Error in curl::curl_fetch_memory(url, handle = handle) : 
Timeout was reached. Operation timed out after 30002 milliseconds with 0 bytes received

Cause

The result generated by the schedule exceeds the system’s file size limit (2GB).

Solution

This issue can be resolved by reducing the data size with the following approaches.

  • Remove unnecessary columns and rows from the data frame in the steps and republish it.
  • If you are visualizing aggregated data in a chart, perform the aggregation in a step beforehand and display the aggregated values in the chart and republish it.
  • If the source data is still too large, consider splitting the data and publishing multiple pieces of content.