If the organization owner didn't publicize his/her membership in the organization, adding a repository from that organization returns HTTP 404 without a proper error message. It is because the authentication failure uses the show_project function which requires a project to exist while there is no project available. This bug confused me a lot until I realized I forgot to publicize the membership (and the Github /user/orgs API is unlikely to return such private organizations). :S
If the organization owner didn't publicize his/her membership in the organization, adding a repository from that organization returns HTTP 404 without a proper error message. It is because the authentication failure uses the
show_project
function which requires a project to exist while there is no project available. This bug confused me a lot until I realized I forgot to publicize the membership (and the Github/user/orgs
API is unlikely to return such private organizations). :S