Skip to content

Org Webhooks in GitHub receive 500 errors when sent a payload #11

@ajhalili2006

Description

@ajhalili2006

What I Expect

An 200 OK status that tells that it works.

The Error

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>

Payload

{
  "zen": "Design for failure.",
  "hook_id": 227066614,
  "hook": {
    "type": "Organization",
    "id": 227066614,
    "name": "web",
    "active": true,
    "events": [
      "*"
    ],
    "config": {
      "content_type": "json",
      "insecure_ssl": "0",
      "url": "https://gitgram-thepinsteam.herokuapp.com/-1001219904005"
    },
    "updated_at": "2020-06-21T09:40:28Z",
    "created_at": "2020-06-21T09:40:28Z",
    "url": "https://api.github.com/orgs/Git-Gram/hooks/227066614",
    "ping_url": "https://api.github.com/orgs/Git-Gram/hooks/227066614/pings"
  },
  "organization": {
    "login": "Git-Gram",
    "id": 67222277,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjY3MjIyMjc3",
    "url": "https://api.github.com/orgs/Git-Gram",
    "repos_url": "https://api.github.com/orgs/Git-Gram/repos",
    "events_url": "https://api.github.com/orgs/Git-Gram/events",
    "hooks_url": "https://api.github.com/orgs/Git-Gram/hooks",
    "issues_url": "https://api.github.com/orgs/Git-Gram/issues",
    "members_url": "https://api.github.com/orgs/Git-Gram/members{/member}",
    "public_members_url": "https://api.github.com/orgs/Git-Gram/public_members{/member}",
    "avatar_url": "https://avatars0.githubusercontent.com/u/67222277?v=4",
    "description": ""
  },
  "sender": {
    "login": "AndreiJirohHaliliDev2006",
    "id": 34998342,
    "node_id": "MDQ6VXNlcjM0OTk4MzQy",
    "avatar_url": "https://avatars1.githubusercontent.com/u/34998342?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/AndreiJirohHaliliDev2006",
    "html_url": "https://github.com/AndreiJirohHaliliDev2006",
    "followers_url": "https://api.github.com/users/AndreiJirohHaliliDev2006/followers",
    "following_url": "https://api.github.com/users/AndreiJirohHaliliDev2006/following{/other_user}",
    "gists_url": "https://api.github.com/users/AndreiJirohHaliliDev2006/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/AndreiJirohHaliliDev2006/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/AndreiJirohHaliliDev2006/subscriptions",
    "organizations_url": "https://api.github.com/users/AndreiJirohHaliliDev2006/orgs",
    "repos_url": "https://api.github.com/users/AndreiJirohHaliliDev2006/repos",
    "events_url": "https://api.github.com/users/AndreiJirohHaliliDev2006/events{/privacy}",
    "received_events_url": "https://api.github.com/users/AndreiJirohHaliliDev2006/received_events",
    "type": "User",
    "site_admin": false
  }
}

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