Hugo’s Pagination accepts only regular pages. It does not work with data files.
There are techniques floating around in the forum and on GitHub about generating Pages from a Data file, like for example this one.
Also there are open issues on GitHub, that you may want to follow: #5074 and #6310.