return a positive error value in callbacks when data is not available