It's not clear to me why we're raising an error here rather than using some default pagination values?