René's URL Explorer Experiment


Title: Adding a collaborator to a repo returns pygithub3.exceptions.BadRequest: 400 - Problems parsing JSON · Issue #64 · copitux/python-github3 · GitHub

Open Graph Title: Adding a collaborator to a repo returns pygithub3.exceptions.BadRequest: 400 - Problems parsing JSON · Issue #64 · copitux/python-github3

X Title: Adding a collaborator to a repo returns pygithub3.exceptions.BadRequest: 400 - Problems parsing JSON · Issue #64 · copitux/python-github3

Description: I'm trying to add a collaborator to a repo with: gh.repos.collaborators.add("collaborator-name", "name", "repo") but I'm getting: pygithub3.exceptions.BadRequest: 400 - Problems parsing JSON Here is the full stack: Traceback (most recent...

Open Graph Description: I'm trying to add a collaborator to a repo with: gh.repos.collaborators.add("collaborator-name", "name", "repo") but I'm getting: pygithub3.exceptions.BadRequest: 400 - Problems parsing JSON Here i...

X Description: I'm trying to add a collaborator to a repo with: gh.repos.collaborators.add("collaborator-name", "name", "repo") but I'm getting: pygithub3.exceptions.BadReque...

Opengraph URL: https://github.com/copitux/python-github3/issues/64

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Adding a collaborator to a repo returns pygithub3.exceptions.BadRequest: 400 - Problems parsing JSON","articleBody":"I'm trying to add a collaborator to a repo with:\r\n```\r\ngh.repos.collaborators.add(\"collaborator-name\", \"name\", \"repo\")\r\n```\r\n\r\nbut I'm getting: \r\n```\r\npygithub3.exceptions.BadRequest: 400 - Problems parsing JSON\r\n```\r\n\r\nHere is the full stack:\r\n```\r\nTraceback (most recent call last):\r\n  File \"./test.py\", line 8, in \u003cmodule\u003e\r\n    collaborators = gh.repos.collaborators.add(\"collaborator-name\", \"name\", \"repo\")\r\n  File \"/Library/Python/2.7/site-packages/pygithub3/services/repos/collaborators.py\", line 40, in add\r\n    return self._put(request)\r\n  File \"/Library/Python/2.7/site-packages/pygithub3/services/base.py\", line 129, in _put\r\n    response = self._client.put(request, data=input_data, **kwargs)\r\n  File \"/Library/Python/2.7/site-packages/pygithub3/core/client.py\", line 100, in put\r\n    response = self.request('put', request, **kwargs)\r\n  File \"/Library/Python/2.7/site-packages/pygithub3/core/client.py\", line 71, in wrapper\r\n    return func(self, verb, request, **kwargs)\r\n  File \"/Library/Python/2.7/site-packages/pygithub3/core/client.py\", line 81, in request\r\n    GithubError(response).process()\r\n  File \"/Library/Python/2.7/site-packages/pygithub3/core/errors.py\", line 35, in process\r\n    raise raise_error()\r\n  File \"/Library/Python/2.7/site-packages/pygithub3/core/errors.py\", line 23, in error_400\r\n    raise BadRequest(\"400 - %s\" % self.debug.get('message'))\r\npygithub3.exceptions.BadRequest: 400 - Problems parsing JSON\r\n```\r\n\r\nI tried deleting and listing, they both work fine, but adding doesn't work. Could you please advice? Thanks.","author":{"url":"https://github.com/hhebbo","@type":"Person","name":"hhebbo"},"datePublished":"2017-08-15T14:38:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/64/python-github3/issues/64"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c37c9cb4-3ecf-ea41-433a-fdedc80beb31
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAAE2:2D5C0D:4DDAFD:6D4C2F:6970A9B6
html-safe-nonce9a26cfa6cf9ba62791b4d855a6a7b06eb8dcab3cda33542f595938a00fd1364c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUUyOjJENUMwRDo0RERBRkQ6NkQ0QzJGOjY5NzBBOUI2IiwidmlzaXRvcl9pZCI6IjU4ODA5NDcwMDQ3NTcwMjcyNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac553be50f478632d38a1321b984558c2ff7ebd9a071a721ea069bf1bb2ad57be8
hovercard-subject-tagissue:250334318
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/copitux/python-github3/64/issue_layout
twitter:imagehttps://opengraph.githubassets.com/39d4f8490d1013d7c59be5a826b2f76da276c52f3c10da1f15ada1f45baab073/copitux/python-github3/issues/64
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/39d4f8490d1013d7c59be5a826b2f76da276c52f3c10da1f15ada1f45baab073/copitux/python-github3/issues/64
og:image:altI'm trying to add a collaborator to a repo with: gh.repos.collaborators.add("collaborator-name", "name", "repo") but I'm getting: pygithub3.exceptions.BadRequest: 400 - Problems parsing JSON Here i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehhebbo
hostnamegithub.com
expected-hostnamegithub.com
None5246860f280a060af866c1c633f74a6720ad2dd5d576534e4c5e462496b693ae
turbo-cache-controlno-preview
go-importgithub.com/copitux/python-github3 git https://github.com/copitux/python-github3.git
octolytics-dimension-user_id508027
octolytics-dimension-user_logincopitux
octolytics-dimension-repository_id2667011
octolytics-dimension-repository_nwocopitux/python-github3
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id1573719
octolytics-dimension-repository_parent_nwokennethreitz/python-github3
octolytics-dimension-repository_network_root_id1573719
octolytics-dimension-repository_network_root_nwokennethreitz/python-github3
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7d29ab0ba8deb7bbecf06b664759d4e847623783
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/copitux/python-github3/issues/64#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcopitux%2Fpython-github3%2Fissues%2F64
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcopitux%2Fpython-github3%2Fissues%2F64
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=copitux%2Fpython-github3
Reloadhttps://patch-diff.githubusercontent.com/copitux/python-github3/issues/64
Reloadhttps://patch-diff.githubusercontent.com/copitux/python-github3/issues/64
Reloadhttps://patch-diff.githubusercontent.com/copitux/python-github3/issues/64
copitux https://patch-diff.githubusercontent.com/copitux
python-github3https://patch-diff.githubusercontent.com/copitux/python-github3
kennethreitz/python-github3https://patch-diff.githubusercontent.com/kennethreitz/python-github3
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fcopitux%2Fpython-github3
Fork 72 https://patch-diff.githubusercontent.com/login?return_to=%2Fcopitux%2Fpython-github3
Star 205 https://patch-diff.githubusercontent.com/login?return_to=%2Fcopitux%2Fpython-github3
Code https://patch-diff.githubusercontent.com/copitux/python-github3
Issues 15 https://patch-diff.githubusercontent.com/copitux/python-github3/issues
Pull requests 8 https://patch-diff.githubusercontent.com/copitux/python-github3/pulls
Actions https://patch-diff.githubusercontent.com/copitux/python-github3/actions
Projects 0 https://patch-diff.githubusercontent.com/copitux/python-github3/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/copitux/python-github3/security
Please reload this pagehttps://patch-diff.githubusercontent.com/copitux/python-github3/issues/64
Insights https://patch-diff.githubusercontent.com/copitux/python-github3/pulse
Code https://patch-diff.githubusercontent.com/copitux/python-github3
Issues https://patch-diff.githubusercontent.com/copitux/python-github3/issues
Pull requests https://patch-diff.githubusercontent.com/copitux/python-github3/pulls
Actions https://patch-diff.githubusercontent.com/copitux/python-github3/actions
Projects https://patch-diff.githubusercontent.com/copitux/python-github3/projects
Security https://patch-diff.githubusercontent.com/copitux/python-github3/security
Insights https://patch-diff.githubusercontent.com/copitux/python-github3/pulse
Adding a collaborator to a repo returns pygithub3.exceptions.BadRequest: 400 - Problems parsing JSONhttps://patch-diff.githubusercontent.com/copitux/python-github3/issues/64#top
https://github.com/hhebbo
https://github.com/hhebbo
hhebbohttps://github.com/hhebbo
on Aug 15, 2017https://github.com/copitux/python-github3/issues/64#issue-250334318
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.