Circle CI builds failing to trigger on some pull requests

Hello.

We have “Build forked pull requests” on for our repository. In most cases, pull requests received from forks run the Circle CI builds as expected. Sometimes we receive a pull request from a contributor and the Circle CI builds don’t trigger. This seems to be somewhat intermittent but at the moment it seems to be affecting one specific contributor. Looking at our webhook deliveries in GitHub, the failure to run the Circle CI builds corresponds with the webhook call to https://circleci.com/hooks/github being rejected with a 400 Bad Request. Attempting to Redeliver the payload yields the same result.

I am not able to post it all in one post because there is a character limit on posts but I am going to try to include the full details of both a failing and succeeding call to https://circleci.com/hooks/github for our repo in replies to this post (hopefully Discourse will not ban me). This may be the same issue as Circle CI builds do not trigger on Pull Requests of some particular users but hopefully providing more detailed debug info will help us to solve it. If there is anything else I can supply let me know.

Example 1: failing call.
This request/response is an example of a webhook call for a pull request where the Circle CI builds were not triggered. Every PR we see from this particular user’s fork does not trigger the build.

Request

Headers

Request URL: https://circleci.com/hooks/github
Request method: POST
Accept: */*
content-type: application/x-www-form-urlencoded
User-Agent: GitHub-Hookshot/b257cdf
X-GitHub-Delivery: 6bb37300-ef99-11ec-8892-6a48dfd10c25
X-GitHub-Event: pull_request
X-GitHub-Hook-ID: 18711990
X-GitHub-Hook-Installation-Target-ID: 7910045
X-GitHub-Hook-Installation-Target-Type: repository
X-Hub-Signature: sha1=b44b5394c2265d561eb436fbc0eca03cabf4d335
X-Hub-Signature-256: sha256=fe2744c33e919a6e14bc7af7dfb5541acb6271019f57d9b5b05fd04bd3bc1b16

Body

{

  "action": "opened",
  "number": 8108,
  "pull_request": {
    "url": "https://api.github.com/repos/badges/shields/pulls/8108",
    "id": 971418593,
    "node_id": "PR_kwDOAHiync455qvh",
    "html_url": "https://github.com/badges/shields/pull/8108",
    "diff_url": "https://github.com/badges/shields/pull/8108.diff",
    "patch_url": "https://github.com/badges/shields/pull/8108.patch",
    "issue_url": "https://api.github.com/repos/badges/shields/issues/8108",
    "number": 8108,
    "state": "open",
    "locked": false,
    "title": "feat: add [gitlabissues] service",
    "user": {
      "login": "sunny0826",
      "id": 24563928,
      "node_id": "MDQ6VXNlcjI0NTYzOTI4",
      "avatar_url": "https://avatars.githubusercontent.com/u/24563928?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/sunny0826",
      "html_url": "https://github.com/sunny0826",
      "followers_url": "https://api.github.com/users/sunny0826/followers",
      "following_url": "https://api.github.com/users/sunny0826/following{/other_user}",
      "gists_url": "https://api.github.com/users/sunny0826/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/sunny0826/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/sunny0826/subscriptions",
      "organizations_url": "https://api.github.com/users/sunny0826/orgs",
      "repos_url": "https://api.github.com/users/sunny0826/repos",
      "events_url": "https://api.github.com/users/sunny0826/events{/privacy}",
      "received_events_url": "https://api.github.com/users/sunny0826/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "re #8077 \r\n",
    "created_at": "2022-06-19T06:31:15Z",
    "updated_at": "2022-06-19T06:31:15Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": null,
    "assignee": null,
    "assignees": [

    ],
    "requested_reviewers": [

    ],
    "requested_teams": [

    ],
    "labels": [

    ],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/badges/shields/pulls/8108/commits",
    "review_comments_url": "https://api.github.com/repos/badges/shields/pulls/8108/comments",
    "review_comment_url": "https://api.github.com/repos/badges/shields/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/badges/shields/issues/8108/comments",
    "statuses_url": "https://api.github.com/repos/badges/shields/statuses/549ecbd302696af18820483ad96daf6d7575e767",
    "head": {
      "label": "sunny0826:feat/gitlab-issue",
      "ref": "feat/gitlab-issue",
      "sha": "549ecbd302696af18820483ad96daf6d7575e767",
      "user": {
        "login": "sunny0826",
        "id": 24563928,
        "node_id": "MDQ6VXNlcjI0NTYzOTI4",
        "avatar_url": "https://avatars.githubusercontent.com/u/24563928?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/sunny0826",
        "html_url": "https://github.com/sunny0826",
        "followers_url": "https://api.github.com/users/sunny0826/followers",
        "following_url": "https://api.github.com/users/sunny0826/following{/other_user}",
        "gists_url": "https://api.github.com/users/sunny0826/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/sunny0826/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/sunny0826/subscriptions",
        "organizations_url": "https://api.github.com/users/sunny0826/orgs",
        "repos_url": "https://api.github.com/users/sunny0826/repos",
        "events_url": "https://api.github.com/users/sunny0826/events{/privacy}",
        "received_events_url": "https://api.github.com/users/sunny0826/received_events",
        "type": "User",
        "site_admin": false
      },
      "repo": {
        "id": 497741895,
        "node_id": "R_kgDOHarwRw",
        "name": "shields",
        "full_name": "sunny0826/shields",
        "private": false,
        "owner": {
          "login": "sunny0826",
          "id": 24563928,
          "node_id": "MDQ6VXNlcjI0NTYzOTI4",
          "avatar_url": "https://avatars.githubusercontent.com/u/24563928?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/sunny0826",
          "html_url": "https://github.com/sunny0826",
          "followers_url": "https://api.github.com/users/sunny0826/followers",
          "following_url": "https://api.github.com/users/sunny0826/following{/other_user}",
          "gists_url": "https://api.github.com/users/sunny0826/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/sunny0826/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/sunny0826/subscriptions",
          "organizations_url": "https://api.github.com/users/sunny0826/orgs",
          "repos_url": "https://api.github.com/users/sunny0826/repos",
          "events_url": "https://api.github.com/users/sunny0826/events{/privacy}",
          "received_events_url": "https://api.github.com/users/sunny0826/received_events",
          "type": "User",
          "site_admin": false
        },
        "html_url": "https://github.com/sunny0826/shields",
        "description": "Concise, consistent, and legible badges in SVG and raster format",
        "fork": true,
        "url": "https://api.github.com/repos/sunny0826/shields",
        "forks_url": "https://api.github.com/repos/sunny0826/shields/forks",
        "keys_url": "https://api.github.com/repos/sunny0826/shields/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/sunny0826/shields/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/sunny0826/shields/teams",
        "hooks_url": "https://api.github.com/repos/sunny0826/shields/hooks",
        "issue_events_url": "https://api.github.com/repos/sunny0826/shields/issues/events{/number}",
        "events_url": "https://api.github.com/repos/sunny0826/shields/events",
        "assignees_url": "https://api.github.com/repos/sunny0826/shields/assignees{/user}",
        "branches_url": "https://api.github.com/repos/sunny0826/shields/branches{/branch}",
        "tags_url": "https://api.github.com/repos/sunny0826/shields/tags",
        "blobs_url": "https://api.github.com/repos/sunny0826/shields/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/sunny0826/shields/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/sunny0826/shields/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/sunny0826/shields/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/sunny0826/shields/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/sunny0826/shields/languages",
        "stargazers_url": "https://api.github.com/repos/sunny0826/shields/stargazers",
        "contributors_url": "https://api.github.com/repos/sunny0826/shields/contributors",
        "subscribers_url": "https://api.github.com/repos/sunny0826/shields/subscribers",
        "subscription_url": "https://api.github.com/repos/sunny0826/shields/subscription",
        "commits_url": "https://api.github.com/repos/sunny0826/shields/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/sunny0826/shields/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/sunny0826/shields/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/sunny0826/shields/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/sunny0826/shields/contents/{+path}",
        "compare_url": "https://api.github.com/repos/sunny0826/shields/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/sunny0826/shields/merges",
        "archive_url": "https://api.github.com/repos/sunny0826/shields/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/sunny0826/shields/downloads",
        "issues_url": "https://api.github.com/repos/sunny0826/shields/issues{/number}",
        "pulls_url": "https://api.github.com/repos/sunny0826/shields/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/sunny0826/shields/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/sunny0826/shields/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/sunny0826/shields/labels{/name}",
        "releases_url": "https://api.github.com/repos/sunny0826/shields/releases{/id}",
        "deployments_url": "https://api.github.com/repos/sunny0826/shields/deployments",
        "created_at": "2022-05-30T00:33:41Z",
        "updated_at": "2022-06-13T01:03:30Z",
        "pushed_at": "2022-06-19T06:30:00Z",
        "git_url": "git://github.com/sunny0826/shields.git",
        "ssh_url": "git@github.com:sunny0826/shields.git",
        "clone_url": "https://github.com/sunny0826/shields.git",
        "svn_url": "https://github.com/sunny0826/shields",
        "homepage": "https://shields.io",
        "size": 202469,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "JavaScript",
        "has_issues": false,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 0,
        "license": {
          "key": "cc0-1.0",
          "name": "Creative Commons Zero v1.0 Universal",
          "spdx_id": "CC0-1.0",
          "url": "https://api.github.com/licenses/cc0-1.0",
          "node_id": "MDc6TGljZW5zZTY="
        },
        "allow_forking": true,
        "is_template": false,
        "topics": [

        ],
        "visibility": "public",
        "forks": 0,
        "open_issues": 0,
        "watchers": 0,
        "default_branch": "master",
        "allow_squash_merge": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "allow_auto_merge": false,
        "delete_branch_on_merge": false,
        "allow_update_branch": false,
        "use_squash_pr_title_as_default": false
      }
    },
    "base": {
      "label": "badges:master",
      "ref": "master",
      "sha": "347e3839b87c0f0a118633445b52008224a2dda9",
      "user": {
        "login": "badges",
        "id": 6254238,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=",
        "avatar_url": "https://avatars.githubusercontent.com/u/6254238?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/badges",
        "html_url": "https://github.com/badges",
        "followers_url": "https://api.github.com/users/badges/followers",
        "following_url": "https://api.github.com/users/badges/following{/other_user}",
        "gists_url": "https://api.github.com/users/badges/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/badges/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/badges/subscriptions",
        "organizations_url": "https://api.github.com/users/badges/orgs",
        "repos_url": "https://api.github.com/users/badges/repos",
        "events_url": "https://api.github.com/users/badges/events{/privacy}",
        "received_events_url": "https://api.github.com/users/badges/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 7910045,
        "node_id": "MDEwOlJlcG9zaXRvcnk3OTEwMDQ1",
        "name": "shields",
        "full_name": "badges/shields",
        "private": false,
        "owner": {
          "login": "badges",
          "id": 6254238,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=",
          "avatar_url": "https://avatars.githubusercontent.com/u/6254238?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/badges",
          "html_url": "https://github.com/badges",
          "followers_url": "https://api.github.com/users/badges/followers",
          "following_url": "https://api.github.com/users/badges/following{/other_user}",
          "gists_url": "https://api.github.com/users/badges/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/badges/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/badges/subscriptions",
          "organizations_url": "https://api.github.com/users/badges/orgs",
          "repos_url": "https://api.github.com/users/badges/repos",
          "events_url": "https://api.github.com/users/badges/events{/privacy}",
          "received_events_url": "https://api.github.com/users/badges/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "html_url": "https://github.com/badges/shields",
        "description": "Concise, consistent, and legible badges in SVG and raster format",
        "fork": false,
        "url": "https://api.github.com/repos/badges/shields",
        "forks_url": "https://api.github.com/repos/badges/shields/forks",
        "keys_url": "https://api.github.com/repos/badges/shields/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/badges/shields/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/badges/shields/teams",
        "hooks_url": "https://api.github.com/repos/badges/shields/hooks",
        "issue_events_url": "https://api.github.com/repos/badges/shields/issues/events{/number}",
        "events_url": "https://api.github.com/repos/badges/shields/events",
        "assignees_url": "https://api.github.com/repos/badges/shields/assignees{/user}",
        "branches_url": "https://api.github.com/repos/badges/shields/branches{/branch}",
        "tags_url": "https://api.github.com/repos/badges/shields/tags",
        "blobs_url": "https://api.github.com/repos/badges/shields/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/badges/shields/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/badges/shields/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/badges/shields/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/badges/shields/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/badges/shields/languages",
        "stargazers_url": "https://api.github.com/repos/badges/shields/stargazers",
        "contributors_url": "https://api.github.com/repos/badges/shields/contributors",
        "subscribers_url": "https://api.github.com/repos/badges/shields/subscribers",
        "subscription_url": "https://api.github.com/repos/badges/shields/subscription",
        "commits_url": "https://api.github.com/repos/badges/shields/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/badges/shields/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/badges/shields/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/badges/shields/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/badges/shields/contents/{+path}",
        "compare_url": "https://api.github.com/repos/badges/shields/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/badges/shields/merges",
        "archive_url": "https://api.github.com/repos/badges/shields/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/badges/shields/downloads",
        "issues_url": "https://api.github.com/repos/badges/shields/issues{/number}",
        "pulls_url": "https://api.github.com/repos/badges/shields/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/badges/shields/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/badges/shields/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/badges/shields/labels{/name}",
        "releases_url": "https://api.github.com/repos/badges/shields/releases{/id}",
        "deployments_url": "https://api.github.com/repos/badges/shields/deployments",
        "created_at": "2013-01-30T07:41:54Z",
        "updated_at": "2022-06-19T05:31:55Z",
        "pushed_at": "2022-06-19T06:31:15Z",
        "git_url": "git://github.com/badges/shields.git",
        "ssh_url": "git@github.com:badges/shields.git",
        "clone_url": "https://github.com/badges/shields.git",
        "svn_url": "https://github.com/badges/shields",
        "homepage": "https://shields.io",
        "size": 201862,
        "stargazers_count": 17197,
        "watchers_count": 17197,
        "language": "JavaScript",
        "has_issues": true,
        "has_projects": false,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": true,
        "forks_count": 4782,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 331,
        "license": {
          "key": "cc0-1.0",
          "name": "Creative Commons Zero v1.0 Universal",
          "spdx_id": "CC0-1.0",
          "url": "https://api.github.com/licenses/cc0-1.0",
          "node_id": "MDc6TGljZW5zZTY="
        },
        "allow_forking": true,
        "is_template": false,
        "topics": [
          "badge",
          "badge-maker",
          "github",
          "metadata",
          "status",
          "svg"
        ],
        "visibility": "public",
        "forks": 4782,
        "open_issues": 331,
        "watchers": 17197,
        "default_branch": "master",
        "allow_squash_merge": true,
        "allow_merge_commit": false,
        "allow_rebase_merge": false,
        "allow_auto_merge": false,
        "delete_branch_on_merge": true,
        "allow_update_branch": false,
        "use_squash_pr_title_as_default": false
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/badges/shields/pulls/8108"
      },
      "html": {
        "href": "https://github.com/badges/shields/pull/8108"
      },
      "issue": {
        "href": "https://api.github.com/repos/badges/shields/issues/8108"
      },
      "comments": {
        "href": "https://api.github.com/repos/badges/shields/issues/8108/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/badges/shields/pulls/8108/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/badges/shields/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/badges/shields/pulls/8108/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/badges/shields/statuses/549ecbd302696af18820483ad96daf6d7575e767"
      }
    },
    "author_association": "CONTRIBUTOR",
    "auto_merge": null,
    "active_lock_reason": null,
    "merged": false,
    "mergeable": null,
    "rebaseable": null,
    "mergeable_state": "unknown",
    "merged_by": null,
    "comments": 0,
    "review_comments": 0,
    "maintainer_can_modify": true,
    "commits": 1,
    "additions": 598,
    "deletions": 0,
    "changed_files": 3
  },
  "repository": {
    "id": 7910045,
    "node_id": "MDEwOlJlcG9zaXRvcnk3OTEwMDQ1",
    "name": "shields",
    "full_name": "badges/shields",
    "private": false,
    "owner": {
      "login": "badges",
      "id": 6254238,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=",
      "avatar_url": "https://avatars.githubusercontent.com/u/6254238?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/badges",
      "html_url": "https://github.com/badges",
      "followers_url": "https://api.github.com/users/badges/followers",
      "following_url": "https://api.github.com/users/badges/following{/other_user}",
      "gists_url": "https://api.github.com/users/badges/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/badges/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/badges/subscriptions",
      "organizations_url": "https://api.github.com/users/badges/orgs",
      "repos_url": "https://api.github.com/users/badges/repos",
      "events_url": "https://api.github.com/users/badges/events{/privacy}",
      "received_events_url": "https://api.github.com/users/badges/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/badges/shields",
    "description": "Concise, consistent, and legible badges in SVG and raster format",
    "fork": false,
    "url": "https://api.github.com/repos/badges/shields",
    "forks_url": "https://api.github.com/repos/badges/shields/forks",
    "keys_url": "https://api.github.com/repos/badges/shields/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/badges/shields/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/badges/shields/teams",
    "hooks_url": "https://api.github.com/repos/badges/shields/hooks",
    "issue_events_url": "https://api.github.com/repos/badges/shields/issues/events{/number}",
    "events_url": "https://api.github.com/repos/badges/shields/events",
    "assignees_url": "https://api.github.com/repos/badges/shields/assignees{/user}",
    "branches_url": "https://api.github.com/repos/badges/shields/branches{/branch}",
    "tags_url": "https://api.github.com/repos/badges/shields/tags",
    "blobs_url": "https://api.github.com/repos/badges/shields/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/badges/shields/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/badges/shields/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/badges/shields/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/badges/shields/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/badges/shields/languages",
    "stargazers_url": "https://api.github.com/repos/badges/shields/stargazers",
    "contributors_url": "https://api.github.com/repos/badges/shields/contributors",
    "subscribers_url": "https://api.github.com/repos/badges/shields/subscribers",
    "subscription_url": "https://api.github.com/repos/badges/shields/subscription",
    "commits_url": "https://api.github.com/repos/badges/shields/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/badges/shields/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/badges/shields/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/badges/shields/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/badges/shields/contents/{+path}",
    "compare_url": "https://api.github.com/repos/badges/shields/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/badges/shields/merges",
    "archive_url": "https://api.github.com/repos/badges/shields/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/badges/shields/downloads",
    "issues_url": "https://api.github.com/repos/badges/shields/issues{/number}",
    "pulls_url": "https://api.github.com/repos/badges/shields/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/badges/shields/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/badges/shields/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/badges/shields/labels{/name}",
    "releases_url": "https://api.github.com/repos/badges/shields/releases{/id}",
    "deployments_url": "https://api.github.com/repos/badges/shields/deployments",
    "created_at": "2013-01-30T07:41:54Z",
    "updated_at": "2022-06-19T05:31:55Z",
    "pushed_at": "2022-06-19T06:31:15Z",
    "git_url": "git://github.com/badges/shields.git",
    "ssh_url": "git@github.com:badges/shields.git",
    "clone_url": "https://github.com/badges/shields.git",
    "svn_url": "https://github.com/badges/shields",
    "homepage": "https://shields.io",
    "size": 201862,
    "stargazers_count": 17197,
    "watchers_count": 17197,
    "language": "JavaScript",
    "has_issues": true,
    "has_projects": false,
    "has_downloads": true,
    "has_wiki": false,
    "has_pages": true,
    "forks_count": 4782,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 331,
    "license": {
      "key": "cc0-1.0",
      "name": "Creative Commons Zero v1.0 Universal",
      "spdx_id": "CC0-1.0",
      "url": "https://api.github.com/licenses/cc0-1.0",
      "node_id": "MDc6TGljZW5zZTY="
    },
    "allow_forking": true,
    "is_template": false,
    "topics": [
      "badge",
      "badge-maker",
      "github",
      "metadata",
      "status",
      "svg"
    ],
    "visibility": "public",
    "forks": 4782,
    "open_issues": 331,
    "watchers": 17197,
    "default_branch": "master"
  },
  "organization": {
    "login": "badges",
    "id": 6254238,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=",
    "url": "https://api.github.com/orgs/badges",
    "repos_url": "https://api.github.com/orgs/badges/repos",
    "events_url": "https://api.github.com/orgs/badges/events",
    "hooks_url": "https://api.github.com/orgs/badges/hooks",
    "issues_url": "https://api.github.com/orgs/badges/issues",
    "members_url": "https://api.github.com/orgs/badges/members{/member}",
    "public_members_url": "https://api.github.com/orgs/badges/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/6254238?v=4",
    "description": "badges as a service"
  },
  "sender": {
    "login": "sunny0826",
    "id": 24563928,
    "node_id": "MDQ6VXNlcjI0NTYzOTI4",
    "avatar_url": "https://avatars.githubusercontent.com/u/24563928?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/sunny0826",
    "html_url": "https://github.com/sunny0826",
    "followers_url": "https://api.github.com/users/sunny0826/followers",
    "following_url": "https://api.github.com/users/sunny0826/following{/other_user}",
    "gists_url": "https://api.github.com/users/sunny0826/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/sunny0826/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/sunny0826/subscriptions",
    "organizations_url": "https://api.github.com/users/sunny0826/orgs",
    "repos_url": "https://api.github.com/users/sunny0826/repos",
    "events_url": "https://api.github.com/users/sunny0826/events{/privacy}",
    "received_events_url": "https://api.github.com/users/sunny0826/received_events",
    "type": "User",
    "site_admin": false
  }
}

Response

Status Code 400

Headers

Content-Length: 0
Date: Sun, 19 Jun 2022 06:31:17 GMT
Server: nginx
Set-Cookie: ring-session=6KRWzP4D4hlsCG5lWTHDxA%2FDSPlaWOQIzgFcYD3DT%2F3Y1%2BUNFGCRme9ISspeUrHL92HN2dURIWb2WEBZXkE5%2BgKL3YoXYjjQNCwY5JuAIR1p%2FOf7Qm7PE3EfyVwIal%2Fl6BjjeofFkLP7F3xPmbkM%2BauvVC1aHp14gh3%2FX3I27%2BNCSwVGb0JNAYht%2Bkj33UwDl7EDN3w3ov8Z5MBCQSl%2FqonPnuhemg3iC%2FPvrICLsKI%3D--Hm8Gh5TWNdcsRKXvha0a96OQspflm%2BzTXJWwMZqXvA8%3D;Path=/;HttpOnly;Domain=circleci.com;Expires=Sat, 17 Jun 2023 21:51:22 +0000;Max-Age=1209600;Secure
Strict-Transport-Security: max-age=15724800
X-Circleci-Identity: circle-www-api-v1-7699775b88-qnxs7
X-Frame-Options: DENY
X-Ratelimit-Limit: 151
X-Ratelimit-Remaining: 150
X-Ratelimit-Reset: 0
X-Request-Id: ea22f1c3-2b9e-4bc9-854b-f2f994e7c2f8
X-Route: /hooks/github

Body is empty

Example 2: succeeding call.
This request/response is an example of a webhook call for a pull request where the Circle CI builds were triggered as expected. As with the other example this PR was triggered by an external contributor submitting a PR from their public fork.

Request

Headers

Request URL: https://circleci.com/hooks/github
Request method: POST
Accept: */*
content-type: application/x-www-form-urlencoded
User-Agent: GitHub-Hookshot/b257cdf
X-GitHub-Delivery: 5f050430-ed9f-11ec-95f1-b69c2b2f98e6
X-GitHub-Event: pull_request
X-GitHub-Hook-ID: 18711990
X-GitHub-Hook-Installation-Target-ID: 7910045
X-GitHub-Hook-Installation-Target-Type: repository
X-Hub-Signature: sha1=a7e50587ab40e4af531ee677cd91b5c9645add56
X-Hub-Signature-256: sha256=16c4e54478b9589ffde40694085dfee6f1561e0fa6cfe162070843c0bf57415d

Body

{
  "action": "opened",
  "number": 8088,
  "pull_request": {
    "url": "https://api.github.com/repos/badges/shields/pulls/8088",
    "id": 969639596,
    "node_id": "PR_kwDOAHiync45y4as",
    "html_url": "https://github.com/badges/shields/pull/8088",
    "diff_url": "https://github.com/badges/shields/pull/8088.diff",
    "patch_url": "https://github.com/badges/shields/pull/8088.patch",
    "issue_url": "https://api.github.com/repos/badges/shields/issues/8088",
    "number": 8088,
    "state": "open",
    "locked": false,
    "title": "[greasyfork] Greasy Fork daily downloads minor example fix",
    "user": {
      "login": "DenverCoder1",
      "id": 20955511,
      "node_id": "MDQ6VXNlcjIwOTU1NTEx",
      "avatar_url": "https://avatars.githubusercontent.com/u/20955511?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/DenverCoder1",
      "html_url": "https://github.com/DenverCoder1",
      "followers_url": "https://api.github.com/users/DenverCoder1/followers",
      "following_url": "https://api.github.com/users/DenverCoder1/following{/other_user}",
      "gists_url": "https://api.github.com/users/DenverCoder1/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/DenverCoder1/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/DenverCoder1/subscriptions",
      "organizations_url": "https://api.github.com/users/DenverCoder1/orgs",
      "repos_url": "https://api.github.com/users/DenverCoder1/repos",
      "events_url": "https://api.github.com/users/DenverCoder1/events{/privacy}",
      "received_events_url": "https://api.github.com/users/DenverCoder1/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "Noticing now that the daily downloads example is missing the \"/day\". The actual badge itself displays correctly, it is just an issue with the example.\r\n\r\n![image](https://user-images.githubusercontent.com/20955511/174137146-c4807979-5d8b-4a0f-9d20-a518d549f1be.png)\r\n\r\n![image](https://user-images.githubusercontent.com/20955511/174137088-66897a88-cf8d-4846-b776-6ee570048c1a.png)",
    "created_at": "2022-06-16T18:08:48Z",
    "updated_at": "2022-06-16T18:08:48Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": null,
    "assignee": null,
    "assignees": [

    ],
    "requested_reviewers": [

    ],
    "requested_teams": [

    ],
    "labels": [

    ],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/badges/shields/pulls/8088/commits",
    "review_comments_url": "https://api.github.com/repos/badges/shields/pulls/8088/comments",
    "review_comment_url": "https://api.github.com/repos/badges/shields/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/badges/shields/issues/8088/comments",
    "statuses_url": "https://api.github.com/repos/badges/shields/statuses/c811265cf43b04fffa010a13af9aff566b854a94",
    "head": {
      "label": "DenverCoderOne:fix-greasyfork-dd-example",
      "ref": "fix-greasyfork-dd-example",
      "sha": "c811265cf43b04fffa010a13af9aff566b854a94",
      "user": {
        "login": "DenverCoderOne",
        "id": 72512947,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjcyNTEyOTQ3",
        "avatar_url": "https://avatars.githubusercontent.com/u/72512947?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/DenverCoderOne",
        "html_url": "https://github.com/DenverCoderOne",
        "followers_url": "https://api.github.com/users/DenverCoderOne/followers",
        "following_url": "https://api.github.com/users/DenverCoderOne/following{/other_user}",
        "gists_url": "https://api.github.com/users/DenverCoderOne/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/DenverCoderOne/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/DenverCoderOne/subscriptions",
        "organizations_url": "https://api.github.com/users/DenverCoderOne/orgs",
        "repos_url": "https://api.github.com/users/DenverCoderOne/repos",
        "events_url": "https://api.github.com/users/DenverCoderOne/events{/privacy}",
        "received_events_url": "https://api.github.com/users/DenverCoderOne/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 502988207,
        "node_id": "R_kgDOHfr9rw",
        "name": "shields",
        "full_name": "DenverCoderOne/shields",
        "private": false,
        "owner": {
          "login": "DenverCoderOne",
          "id": 72512947,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjcyNTEyOTQ3",
          "avatar_url": "https://avatars.githubusercontent.com/u/72512947?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/DenverCoderOne",
          "html_url": "https://github.com/DenverCoderOne",
          "followers_url": "https://api.github.com/users/DenverCoderOne/followers",
          "following_url": "https://api.github.com/users/DenverCoderOne/following{/other_user}",
          "gists_url": "https://api.github.com/users/DenverCoderOne/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/DenverCoderOne/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/DenverCoderOne/subscriptions",
          "organizations_url": "https://api.github.com/users/DenverCoderOne/orgs",
          "repos_url": "https://api.github.com/users/DenverCoderOne/repos",
          "events_url": "https://api.github.com/users/DenverCoderOne/events{/privacy}",
          "received_events_url": "https://api.github.com/users/DenverCoderOne/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "html_url": "https://github.com/DenverCoderOne/shields",
        "description": "Concise, consistent, and legible badges in SVG and raster format",
        "fork": true,
        "url": "https://api.github.com/repos/DenverCoderOne/shields",
        "forks_url": "https://api.github.com/repos/DenverCoderOne/shields/forks",
        "keys_url": "https://api.github.com/repos/DenverCoderOne/shields/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/DenverCoderOne/shields/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/DenverCoderOne/shields/teams",
        "hooks_url": "https://api.github.com/repos/DenverCoderOne/shields/hooks",
        "issue_events_url": "https://api.github.com/repos/DenverCoderOne/shields/issues/events{/number}",
        "events_url": "https://api.github.com/repos/DenverCoderOne/shields/events",
        "assignees_url": "https://api.github.com/repos/DenverCoderOne/shields/assignees{/user}",
        "branches_url": "https://api.github.com/repos/DenverCoderOne/shields/branches{/branch}",
        "tags_url": "https://api.github.com/repos/DenverCoderOne/shields/tags",
        "blobs_url": "https://api.github.com/repos/DenverCoderOne/shields/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/DenverCoderOne/shields/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/DenverCoderOne/shields/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/DenverCoderOne/shields/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/DenverCoderOne/shields/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/DenverCoderOne/shields/languages",
        "stargazers_url": "https://api.github.com/repos/DenverCoderOne/shields/stargazers",
        "contributors_url": "https://api.github.com/repos/DenverCoderOne/shields/contributors",
        "subscribers_url": "https://api.github.com/repos/DenverCoderOne/shields/subscribers",
        "subscription_url": "https://api.github.com/repos/DenverCoderOne/shields/subscription",
        "commits_url": "https://api.github.com/repos/DenverCoderOne/shields/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/DenverCoderOne/shields/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/DenverCoderOne/shields/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/DenverCoderOne/shields/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/DenverCoderOne/shields/contents/{+path}",
        "compare_url": "https://api.github.com/repos/DenverCoderOne/shields/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/DenverCoderOne/shields/merges",
        "archive_url": "https://api.github.com/repos/DenverCoderOne/shields/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/DenverCoderOne/shields/downloads",
        "issues_url": "https://api.github.com/repos/DenverCoderOne/shields/issues{/number}",
        "pulls_url": "https://api.github.com/repos/DenverCoderOne/shields/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/DenverCoderOne/shields/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/DenverCoderOne/shields/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/DenverCoderOne/shields/labels{/name}",
        "releases_url": "https://api.github.com/repos/DenverCoderOne/shields/releases{/id}",
        "deployments_url": "https://api.github.com/repos/DenverCoderOne/shields/deployments",
        "created_at": "2022-06-13T14:22:08Z",
        "updated_at": "2022-06-16T17:15:29Z",
        "pushed_at": "2022-06-16T18:05:55Z",
        "git_url": "git://github.com/DenverCoderOne/shields.git",
        "ssh_url": "git@github.com:DenverCoderOne/shields.git",
        "clone_url": "https://github.com/DenverCoderOne/shields.git",
        "svn_url": "https://github.com/DenverCoderOne/shields",
        "homepage": "https://shields.io",
        "size": 201336,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "JavaScript",
        "has_issues": false,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 0,
        "license": {
          "key": "cc0-1.0",
          "name": "Creative Commons Zero v1.0 Universal",
          "spdx_id": "CC0-1.0",
          "url": "https://api.github.com/licenses/cc0-1.0",
          "node_id": "MDc6TGljZW5zZTY="
        },
        "allow_forking": true,
        "is_template": false,
        "topics": [

        ],
        "visibility": "public",
        "forks": 0,
        "open_issues": 0,
        "watchers": 0,
        "default_branch": "master",
        "allow_squash_merge": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "allow_auto_merge": false,
        "delete_branch_on_merge": false,
        "allow_update_branch": false,
        "use_squash_pr_title_as_default": false
      }
    },
    "base": {
      "label": "badges:master",
      "ref": "master",
      "sha": "8f7164f96bcdb097c310797974541b45d33ed58c",
      "user": {
        "login": "badges",
        "id": 6254238,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=",
        "avatar_url": "https://avatars.githubusercontent.com/u/6254238?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/badges",
        "html_url": "https://github.com/badges",
        "followers_url": "https://api.github.com/users/badges/followers",
        "following_url": "https://api.github.com/users/badges/following{/other_user}",
        "gists_url": "https://api.github.com/users/badges/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/badges/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/badges/subscriptions",
        "organizations_url": "https://api.github.com/users/badges/orgs",
        "repos_url": "https://api.github.com/users/badges/repos",
        "events_url": "https://api.github.com/users/badges/events{/privacy}",
        "received_events_url": "https://api.github.com/users/badges/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 7910045,
        "node_id": "MDEwOlJlcG9zaXRvcnk3OTEwMDQ1",
        "name": "shields",
        "full_name": "badges/shields",
        "private": false,
        "owner": {
          "login": "badges",
          "id": 6254238,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=",
          "avatar_url": "https://avatars.githubusercontent.com/u/6254238?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/badges",
          "html_url": "https://github.com/badges",
          "followers_url": "https://api.github.com/users/badges/followers",
          "following_url": "https://api.github.com/users/badges/following{/other_user}",
          "gists_url": "https://api.github.com/users/badges/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/badges/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/badges/subscriptions",
          "organizations_url": "https://api.github.com/users/badges/orgs",
          "repos_url": "https://api.github.com/users/badges/repos",
          "events_url": "https://api.github.com/users/badges/events{/privacy}",
          "received_events_url": "https://api.github.com/users/badges/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "html_url": "https://github.com/badges/shields",
        "description": "Concise, consistent, and legible badges in SVG and raster format",
        "fork": false,
        "url": "https://api.github.com/repos/badges/shields",
        "forks_url": "https://api.github.com/repos/badges/shields/forks",
        "keys_url": "https://api.github.com/repos/badges/shields/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/badges/shields/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/badges/shields/teams",
        "hooks_url": "https://api.github.com/repos/badges/shields/hooks",
        "issue_events_url": "https://api.github.com/repos/badges/shields/issues/events{/number}",
        "events_url": "https://api.github.com/repos/badges/shields/events",
        "assignees_url": "https://api.github.com/repos/badges/shields/assignees{/user}",
        "branches_url": "https://api.github.com/repos/badges/shields/branches{/branch}",
        "tags_url": "https://api.github.com/repos/badges/shields/tags",
        "blobs_url": "https://api.github.com/repos/badges/shields/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/badges/shields/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/badges/shields/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/badges/shields/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/badges/shields/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/badges/shields/languages",
        "stargazers_url": "https://api.github.com/repos/badges/shields/stargazers",
        "contributors_url": "https://api.github.com/repos/badges/shields/contributors",
        "subscribers_url": "https://api.github.com/repos/badges/shields/subscribers",
        "subscription_url": "https://api.github.com/repos/badges/shields/subscription",
        "commits_url": "https://api.github.com/repos/badges/shields/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/badges/shields/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/badges/shields/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/badges/shields/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/badges/shields/contents/{+path}",
        "compare_url": "https://api.github.com/repos/badges/shields/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/badges/shields/merges",
        "archive_url": "https://api.github.com/repos/badges/shields/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/badges/shields/downloads",
        "issues_url": "https://api.github.com/repos/badges/shields/issues{/number}",
        "pulls_url": "https://api.github.com/repos/badges/shields/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/badges/shields/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/badges/shields/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/badges/shields/labels{/name}",
        "releases_url": "https://api.github.com/repos/badges/shields/releases{/id}",
        "deployments_url": "https://api.github.com/repos/badges/shields/deployments",
        "created_at": "2013-01-30T07:41:54Z",
        "updated_at": "2022-06-16T13:08:46Z",
        "pushed_at": "2022-06-16T18:08:49Z",
        "git_url": "git://github.com/badges/shields.git",
        "ssh_url": "git@github.com:badges/shields.git",
        "clone_url": "https://github.com/badges/shields.git",
        "svn_url": "https://github.com/badges/shields",
        "homepage": "https://shields.io",
        "size": 201486,
        "stargazers_count": 17177,
        "watchers_count": 17177,
        "language": "JavaScript",
        "has_issues": true,
        "has_projects": false,
        "has_downloads": true,
        "has_wiki": false,
        "has_pages": true,
        "forks_count": 4777,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 333,
        "license": {
          "key": "cc0-1.0",
          "name": "Creative Commons Zero v1.0 Universal",
          "spdx_id": "CC0-1.0",
          "url": "https://api.github.com/licenses/cc0-1.0",
          "node_id": "MDc6TGljZW5zZTY="
        },
        "allow_forking": true,
        "is_template": false,
        "topics": [
          "badge",
          "badge-maker",
          "github",
          "metadata",
          "status",
          "svg"
        ],
        "visibility": "public",
        "forks": 4777,
        "open_issues": 333,
        "watchers": 17177,
        "default_branch": "master",
        "allow_squash_merge": true,
        "allow_merge_commit": false,
        "allow_rebase_merge": false,
        "allow_auto_merge": false,
        "delete_branch_on_merge": true,
        "allow_update_branch": false,
        "use_squash_pr_title_as_default": false
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/badges/shields/pulls/8088"
      },
      "html": {
        "href": "https://github.com/badges/shields/pull/8088"
      },
      "issue": {
        "href": "https://api.github.com/repos/badges/shields/issues/8088"
      },
      "comments": {
        "href": "https://api.github.com/repos/badges/shields/issues/8088/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/badges/shields/pulls/8088/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/badges/shields/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/badges/shields/pulls/8088/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/badges/shields/statuses/c811265cf43b04fffa010a13af9aff566b854a94"
      }
    },
    "author_association": "CONTRIBUTOR",
    "auto_merge": null,
    "active_lock_reason": null,
    "merged": false,
    "mergeable": null,
    "rebaseable": null,
    "mergeable_state": "unknown",
    "merged_by": null,
    "comments": 0,
    "review_comments": 0,
    "maintainer_can_modify": false,
    "commits": 1,
    "additions": 1,
    "deletions": 1,
    "changed_files": 1
  },
  "repository": {
    "id": 7910045,
    "node_id": "MDEwOlJlcG9zaXRvcnk3OTEwMDQ1",
    "name": "shields",
    "full_name": "badges/shields",
    "private": false,
    "owner": {
      "login": "badges",
      "id": 6254238,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=",
      "avatar_url": "https://avatars.githubusercontent.com/u/6254238?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/badges",
      "html_url": "https://github.com/badges",
      "followers_url": "https://api.github.com/users/badges/followers",
      "following_url": "https://api.github.com/users/badges/following{/other_user}",
      "gists_url": "https://api.github.com/users/badges/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/badges/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/badges/subscriptions",
      "organizations_url": "https://api.github.com/users/badges/orgs",
      "repos_url": "https://api.github.com/users/badges/repos",
      "events_url": "https://api.github.com/users/badges/events{/privacy}",
      "received_events_url": "https://api.github.com/users/badges/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/badges/shields",
    "description": "Concise, consistent, and legible badges in SVG and raster format",
    "fork": false,
    "url": "https://api.github.com/repos/badges/shields",
    "forks_url": "https://api.github.com/repos/badges/shields/forks",
    "keys_url": "https://api.github.com/repos/badges/shields/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/badges/shields/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/badges/shields/teams",
    "hooks_url": "https://api.github.com/repos/badges/shields/hooks",
    "issue_events_url": "https://api.github.com/repos/badges/shields/issues/events{/number}",
    "events_url": "https://api.github.com/repos/badges/shields/events",
    "assignees_url": "https://api.github.com/repos/badges/shields/assignees{/user}",
    "branches_url": "https://api.github.com/repos/badges/shields/branches{/branch}",
    "tags_url": "https://api.github.com/repos/badges/shields/tags",
    "blobs_url": "https://api.github.com/repos/badges/shields/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/badges/shields/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/badges/shields/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/badges/shields/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/badges/shields/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/badges/shields/languages",
    "stargazers_url": "https://api.github.com/repos/badges/shields/stargazers",
    "contributors_url": "https://api.github.com/repos/badges/shields/contributors",
    "subscribers_url": "https://api.github.com/repos/badges/shields/subscribers",
    "subscription_url": "https://api.github.com/repos/badges/shields/subscription",
    "commits_url": "https://api.github.com/repos/badges/shields/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/badges/shields/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/badges/shields/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/badges/shields/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/badges/shields/contents/{+path}",
    "compare_url": "https://api.github.com/repos/badges/shields/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/badges/shields/merges",
    "archive_url": "https://api.github.com/repos/badges/shields/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/badges/shields/downloads",
    "issues_url": "https://api.github.com/repos/badges/shields/issues{/number}",
    "pulls_url": "https://api.github.com/repos/badges/shields/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/badges/shields/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/badges/shields/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/badges/shields/labels{/name}",
    "releases_url": "https://api.github.com/repos/badges/shields/releases{/id}",
    "deployments_url": "https://api.github.com/repos/badges/shields/deployments",
    "created_at": "2013-01-30T07:41:54Z",
    "updated_at": "2022-06-16T13:08:46Z",
    "pushed_at": "2022-06-16T18:08:49Z",
    "git_url": "git://github.com/badges/shields.git",
    "ssh_url": "git@github.com:badges/shields.git",
    "clone_url": "https://github.com/badges/shields.git",
    "svn_url": "https://github.com/badges/shields",
    "homepage": "https://shields.io",
    "size": 201486,
    "stargazers_count": 17177,
    "watchers_count": 17177,
    "language": "JavaScript",
    "has_issues": true,
    "has_projects": false,
    "has_downloads": true,
    "has_wiki": false,
    "has_pages": true,
    "forks_count": 4777,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 333,
    "license": {
      "key": "cc0-1.0",
      "name": "Creative Commons Zero v1.0 Universal",
      "spdx_id": "CC0-1.0",
      "url": "https://api.github.com/licenses/cc0-1.0",
      "node_id": "MDc6TGljZW5zZTY="
    },
    "allow_forking": true,
    "is_template": false,
    "topics": [
      "badge",
      "badge-maker",
      "github",
      "metadata",
      "status",
      "svg"
    ],
    "visibility": "public",
    "forks": 4777,
    "open_issues": 333,
    "watchers": 17177,
    "default_branch": "master"
  },
  "organization": {
    "login": "badges",
    "id": 6254238,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjYyNTQyMzg=",
    "url": "https://api.github.com/orgs/badges",
    "repos_url": "https://api.github.com/orgs/badges/repos",
    "events_url": "https://api.github.com/orgs/badges/events",
    "hooks_url": "https://api.github.com/orgs/badges/hooks",
    "issues_url": "https://api.github.com/orgs/badges/issues",
    "members_url": "https://api.github.com/orgs/badges/members{/member}",
    "public_members_url": "https://api.github.com/orgs/badges/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/6254238?v=4",
    "description": "badges as a service"
  },
  "sender": {
    "login": "DenverCoder1",
    "id": 20955511,
    "node_id": "MDQ6VXNlcjIwOTU1NTEx",
    "avatar_url": "https://avatars.githubusercontent.com/u/20955511?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/DenverCoder1",
    "html_url": "https://github.com/DenverCoder1",
    "followers_url": "https://api.github.com/users/DenverCoder1/followers",
    "following_url": "https://api.github.com/users/DenverCoder1/following{/other_user}",
    "gists_url": "https://api.github.com/users/DenverCoder1/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/DenverCoder1/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/DenverCoder1/subscriptions",
    "organizations_url": "https://api.github.com/users/DenverCoder1/orgs",
    "repos_url": "https://api.github.com/users/DenverCoder1/repos",
    "events_url": "https://api.github.com/users/DenverCoder1/events{/privacy}",
    "received_events_url": "https://api.github.com/users/DenverCoder1/received_events",
    "type": "User",
    "site_admin": false
  }
}

Response

Status Code 200

Headers

Content-Length: 0
Date: Thu, 16 Jun 2022 18:08:50 GMT
Server: nginx
Set-Cookie: ring-session=jWMYkH1zl1mET2hJ9bIlPA3NOYarIpotpEqKfVcxYP218%2BL2JfVt8h3fkqjj3CorWbpbLPce%2B5pjGvzLyiqXpK7HslkhP%2BXpNZ2zrafDYa1hucqv2KgmjEabJqS73kmZVgJklZnKw37KMuGqHbbNyUJhBxPL6JMhanRpMcIiRMAYbozHHS9jTO7tm0G6OAdqGfP%2BgzOhAaCtCkWg9Xf3opNXmPVJLjHup8g0G%2BgMb5U%3D--FIPpmgu66zHWJs4TBiM1K%2Fm2k3vmzJcPdrmRCueLey0%3D;Path=/;HttpOnly;Domain=circleci.com;Expires=Fri, 16 Jun 2023 17:02:09 +0000;Max-Age=1209600;Secure
Strict-Transport-Security: max-age=15724800
X-Circleci-Identity: circle-www-api-v1-67b6f4cd6c-gh92w
X-Frame-Options: DENY
X-Ratelimit-Limit: 151
X-Ratelimit-Remaining: 150
X-Ratelimit-Reset: 0
X-Request-Id: ef5dea4b-ddc0-48c1-bb74-38779d429541
X-Route: /hooks/github

Body is empty

Is anyone able to tell us what is going on here and how we could fix it? We are at a loss trying to debug it.

If you have not already done so it would be worth also raising a support ticket as the debugging of this would most likely involve a developer with access to the source code. Support/development will also have access to any error logs retained by the system that may provide more detail regarding where the 400 code is generated.

I’ve now duplicated this as a support request at https://support.circleci.com/hc/en-us/requests/new

Apologies if I’ve posted this in the wrong place.

No, it is as good a place as anywhere, as otherwise, no one would have been able to provide you with what is hopefully a better option, even if it takes a day or 2 depending on which plan you have signed up to.