return error message if start page range greater number of pages