handle non 200 status code in DataOnPage/AllData