Why my pagination gets 404?

The solution is that CPT should have 'has_archive' set to 'true'.

tech