Skip to content

"The history or contributor list is too large to list contributors for this repository via the API" #283

Closed

Description

@parkr

Capture this error, warn, and return no contributors:

Liquid Exception: GET https://api.github.com/repos/bkmgit/sched_ext/contributors?per_page=100: 403 - The history or contributor list is too large to list contributors for this repository via the API. // See: https://docs.github.com/rest/repos/repos#list-repository-contributors in /_layouts/base.html
/usr/local/bundle/gems/octokit-4.25.1/lib/octokit/response/raise_error.rb:14:in `on_complete': GET https://api.github.com/repos/bkmgit/sched_ext/contributors?per_page=100: 403 - The history or contributor list is too large to list contributors for this repository via the API. // See: https://docs.github.com/rest/repos/repos#list-repository-contributors (Octokit::Forbidden)

Here's the API:

$ curl -L \
> -H "Accept: application/vnd.github+json" \
> -H "X-GitHub-Api-Version: 2022-11-28" \
> https://api.github.com/repos/sched_ext/sched_ext/contributors

Originally reported in github/pages-gem#915

Activity

  1. S0AndS0 commented on May 12, 2026

    @S0AndS0

    Seems to triggering this issue via Liquid after forking NixOS/nixpkgs publicly is reasonably reliable;

    {% assign repo_name = site.github.repository_name %}
    {% assign this_repo = site.github.public_repositories | where: "name", repo_name | first %}

    ... this happens on blog that is not associated with NixOS/nixpkgs directly. Simply by being a contributor to a popular project produces punishing problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions