Issues with GitHub APIs



After heavily using GitHub APIs, I've got a couple of issues that arise from using GitHub APIs using pygithub. I'll keep updating this post.


-Trying to add a collaborator that is already a collaborator to the repo. I got this misleading error message from GitHub APIs.
422 {u'documentation_url': u'https://developer.github.com/v3/repos/collaborators/#add-user-as-a-collaborator', u'message': u'Validation Failed', u'errors': [{u'message': u'You can only update permissions on organization-owned repositories and their forks', u'code': u'custom', u'resource': u'Repository'}]}

Comments

Popular Posts