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

BadRequest exception when adding a collaborator #54

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions