The pagination mechanism is currently limited to 100 pages with a 100 entries each.
The API returns
{
"message": "Pagination with the page parameter is not supported for large datasets, please use cursor based pagination (after/before)",
"documentation_url": "https://docs.github.com/rest/issues/issues#list-repository-issues",
"status": "422"
}
You can use cursor based navigation however
https://github.com/orgs/community/discussions/69826#cursor-based-pagination