Skip to content

Troubleshooting

When you ask the Bot to add a new contributor to your project, it either opens a new pull request adding them to your contributor table or responds to you in a new comment explaining why it couldn’t open that pull request.

This page describes the replies you may see, what they might mean, and what to check if you don’t get a reply from the Bot.

If the Bot doesn’t reply to your mention in a comment, it most likely didn’t see your comment as a request. Follow these checks in order:

  1. Check that the Bot is installed on the repository

    Open the Bot’s configuration page in your GitHub settings. Check that the repository is selected, as described in Install the app.

  2. Check that your comment mentions the Bot correctly

    The comment must mention @all-contributors or @allcontributors, and the mention needs a space or a line break after it. These work:

    @all-contributors please add @jane for code
    hey @all-contributors please add @jane for code

    These do not trigger the Bot to respond:

    # no command is present
    @all-contributors
    # the mention is at the end of the comment
    please add @janedoe for docs and code @all-contributors
    # a comma is present but no space or line break after the mention so the username looks like `all-contributors,`
    @all-contributors, please add @jane for code
  3. Check that the comment is new

    The Bot will only read new comments when they are created. If you edited the comment, it will not respond to the newly edited mention. The Bot also won’t receive review comments on a pull request diff.

    Solution: Create a new comment in the issue or in the pull request conversation.

  4. Check that the request is written in a way the Bot understands

    See Add contributors to learn more about how to correctly call the Bot and add new contributors.

The Bot starts every reply with a mention of the GitHub user who wrote the original comment. The text after that mention tells you what happened:

Reply Meaning and fix
I could not determine your intention. The Bot found the mention but no add request. The reply includes an example, and Add contributors shows the possible phrasings.
I couldn’t determine any contributions to add, did you specify any contributions? The comment names a person but no valid contribution. Use a keyword or alias from Add contributors.
Could not find the user name on github. The username is misspelled or doesn’t exist. Check it, and put an @ in front of it.
@name already contributed before to types The person already has all the contributions you asked for, so there is nothing to change.
File README.md was not found in the repository (owner/repo). A file listed under files doesn’t exist. Create it, or correct the list, as described in Move the table.
Your .all-contributorsrc cannot contain more than 25 files. The files list is too long. Shorten it.
This project’s configuration file has malformed JSON .all-contributorsrc isn’t valid JSON, and the reply includes the parser’s error message. Fix the syntax.
We had trouble processing your request. Please try again later. Something went wrong that the Bot doesn’t recognize, such as an error from GitHub. Try again later, and open an issue if it keeps happening.

If the pull request was opened but the contributor table in your file is unchanged, the file is probably missing its markers. The Bot only writes between the ALL-CONTRIBUTORS-LIST:START and ALL-CONTRIBUTORS-LIST:END comments, and it leaves the file as it is when it can’t find them. See Prepare the files yourself for more about adding markers to the file that you want the Bot to update.

When skipCi is true, the Bot adds [skip ci] to the pull request description, and many CI services then skip the pull request. A configuration file that the Bot created contains skipCi: true, while a file that doesn’t mention the option gets no [skip ci]. Set skipCi to false if you want your checks to run. The configuration reference has the details.