What HistoryBase error exactly means?

 
Hi, I'm trying to make a new chart based on period_converter script. Sometimes, for some symbols I get
HistoryBase: XXX errors in 'MY_SYMBOL'

It happens not all the time, and I'm a little stuck to solve this. Can some from MT4 developers explain whan this error is generated? At which conditions?
Reason: