Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

BadRequest exception when adding a collaborator #54

Open
ghost opened this issue Mar 15, 2016 · 0 comments
Open

BadRequest exception when adding a collaborator #54

ghost opened this issue Mar 15, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 15, 2016

The following:

from pygithub3 import Github
Github(token='token').repos.collaborators.add('collaborator', user='user', repo='repo')

fails with pygithub3.exceptions.BadRequest: 400 - Problems parsing JSON after GitHub tries to interpret the PLACEHOLDER (submitted by pygithub.services.base.Service._put) as JSON.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants