Trying to add a new project => Error adding SSH key to GitHub repository

Pure Krome's Avatar

Pure Krome

29 Jan, 2015 04:13 AM

I'm getting this error when trying to add a new private repo to an account I just made.

Error adding SSH key to GitHub repository: Response status code does not indicate success: 404 (Not Found).

1. Created a new 'company' appveyor user/account.
2. Created a new GitHub user -> our CI/CD bot. It's only got READ permissions.
3. Auth'd GH with my company appveyor account.
4. Add project -> fail.

Now, i'm guessing this is related to some ADMIN issue with GH. So .. if it is .. is there any way I can avoid this by manually adding ssh keys or something? I don't really want to give the bot Admin access (even if it's a once off thing).

  1. Support Staff 1 Posted by Feodor Fitsner on 29 Jan, 2015 04:18 AM

    Feodor Fitsner's Avatar

    Right, it requires admin rights to add SSH key to the repo.

    You can allow it doing that while adding a project. Then remove that right.

  2. 2 Posted by Pure Krome on 29 Jan, 2015 04:19 AM

    Pure Krome's Avatar

    That's the only way?

  3. Support Staff 3 Posted by Feodor Fitsner on 29 Jan, 2015 04:21 AM

    Feodor Fitsner's Avatar

    Currently - yes. Looking forward we could check if there are enough permissions and skip that step if not; then show public SSH key and warning.

  4. 4 Posted by Pure Krome on 29 Jan, 2015 04:25 AM

    Pure Krome's Avatar

    Awesome :) new Issue created :)

  5. Pure Krome closed this discussion on 29 Jan, 2015 04:25 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac