A schedule that had been running successfully is now failing with the error “Error in .htmltables[[index]] : subscript out of bounds”

If a schedule that used to run successfully now fails with the error Error in .htmltables\[\[index]] : subscript out of bounds, it may be due to changes in the web page used as a data source for web scraping, which prevent the intended data from being retrieved.

To resolve this issue, please try the following steps:

  1. Open Exploratory Desktop, select the relevant data frame, and re-import the data.
    • If the web page has changed and the data cannot be retrieved, the same type of error should appear.
  2. Click on the data source step and reselect the web page URL and the data to be scraped.
  3. Republish the content, then in the schedule dialog select “Run Immediately” to confirm whether the issue has been resolved.