vI have configured the AWS lambda and gateway but Github web hook during PULL Request event POST call returning the below error:
{
"action": "opened",
"number": 4,
"pull_request": {
"url": "https://api.github.com/repos/baraths84/filebuilder/pulls/4",
"id": 467750349,
"node_id": "MDExOlB1bGxSZXF1ZXN0NDY3NzUwMzQ5",
"html_url": "https://github.com/baraths84/filebuilder/pull/4",
"diff_url": "https://github.com/baraths84/filebuilder/pull/4.diff",
"patch_url": "https://github.com/baraths84/filebuilder/pull/4.patch",
"issue_url": "https://api.github.com/repos/baraths84/filebuilder/issues/4",
"number": 4,
"state": "open",
"locked": false,
"title": "kHkhd barath",
"user": {
"login": "baraths84",
"id": 2089311,
"node_id": "MDQ6VXNlcjIwODkzMTE=",
"avatar_url": "https://avatars1.githubusercontent.com/u/2089311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baraths84",
"html_url": "https://github.com/baraths84",
"followers_url": "https://api.github.com/users/baraths84/followers",
"following_url": "https://api.github.com/users/baraths84/following{/other_user}",
"gists_url": "https://api.github.com/users/baraths84/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baraths84/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baraths84/subscriptions",
"organizations_url": "https://api.github.com/users/baraths84/orgs",
"repos_url": "https://api.github.com/users/baraths84/repos",
"events_url": "https://api.github.com/users/baraths84/events{/privacy}",
"received_events_url": "https://api.github.com/users/baraths84/received_events",
"type": "User",
"site_admin": false
},
"body": "new",
"created_at": "2020-08-14T03:48:09Z",
"updated_at": "2020-08-14T03:48:09Z",
"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/baraths84/filebuilder/pulls/4/commits",
"review_comments_url": "https://api.github.com/repos/baraths84/filebuilder/pulls/4/comments",
"review_comment_url": "https://api.github.com/repos/baraths84/filebuilder/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/baraths84/filebuilder/issues/4/comments",
"statuses_url": "https://api.github.com/repos/baraths84/filebuilder/statuses/238b18bcdab34e0193021fac54a88e92916dca76",
"head": {
"label": "baraths84:FEATURE/TESLA-200",
"ref": "FEATURE/TESLA-200",
"sha": "238b18bcdab34e0193021fac54a88e92916dca76",
"user": {
"login": "baraths84",
"id": 2089311,
"node_id": "MDQ6VXNlcjIwODkzMTE=",
"avatar_url": "https://avatars1.githubusercontent.com/u/2089311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baraths84",
"html_url": "https://github.com/baraths84",
"followers_url": "https://api.github.com/users/baraths84/followers",
"following_url": "https://api.github.com/users/baraths84/following{/other_user}",
"gists_url": "https://api.github.com/users/baraths84/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baraths84/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baraths84/subscriptions",
"organizations_url": "https://api.github.com/users/baraths84/orgs",
"repos_url": "https://api.github.com/users/baraths84/repos",
"events_url": "https://api.github.com/users/baraths84/events{/privacy}",
"received_events_url": "https://api.github.com/users/baraths84/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 148515704,
"node_id": "MDEwOlJlcG9zaXRvcnkxNDg1MTU3MDQ=",
"name": "filebuilder",
"full_name": "baraths84/filebuilder",
"private": false,
"owner": {
"login": "baraths84",
"id": 2089311,
"node_id": "MDQ6VXNlcjIwODkzMTE=",
"avatar_url": "https://avatars1.githubusercontent.com/u/2089311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baraths84",
"html_url": "https://github.com/baraths84",
"followers_url": "https://api.github.com/users/baraths84/followers",
"following_url": "https://api.github.com/users/baraths84/following{/other_user}",
"gists_url": "https://api.github.com/users/baraths84/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baraths84/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baraths84/subscriptions",
"organizations_url": "https://api.github.com/users/baraths84/orgs",
"repos_url": "https://api.github.com/users/baraths84/repos",
"events_url": "https://api.github.com/users/baraths84/events{/privacy}",
"received_events_url": "https://api.github.com/users/baraths84/received_events",
"type": "User",
"site_admin": false
},
"html_url": "https://github.com/baraths84/filebuilder",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/baraths84/filebuilder",
"forks_url": "https://api.github.com/repos/baraths84/filebuilder/forks",
"keys_url": "https://api.github.com/repos/baraths84/filebuilder/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/baraths84/filebuilder/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/baraths84/filebuilder/teams",
"hooks_url": "https://api.github.com/repos/baraths84/filebuilder/hooks",
"issue_events_url": "https://api.github.com/repos/baraths84/filebuilder/issues/events{/number}",
"events_url": "https://api.github.com/repos/baraths84/filebuilder/events",
"assignees_url": "https://api.github.com/repos/baraths84/filebuilder/assignees{/user}",
"branches_url": "https://api.github.com/repos/baraths84/filebuilder/branches{/branch}",
"tags_url": "https://api.github.com/repos/baraths84/filebuilder/tags",
"blobs_url": "https://api.github.com/repos/baraths84/filebuilder/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/baraths84/filebuilder/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/baraths84/filebuilder/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/baraths84/filebuilder/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/baraths84/filebuilder/statuses/{sha}",
"languages_url": "https://api.github.com/repos/baraths84/filebuilder/languages",
"stargazers_url": "https://api.github.com/repos/baraths84/filebuilder/stargazers",
"contributors_url": "https://api.github.com/repos/baraths84/filebuilder/contributors",
"subscribers_url": "https://api.github.com/repos/baraths84/filebuilder/subscribers",
"subscription_url": "https://api.github.com/repos/baraths84/filebuilder/subscription",
"commits_url": "https://api.github.com/repos/baraths84/filebuilder/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/baraths84/filebuilder/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/baraths84/filebuilder/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/baraths84/filebuilder/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/baraths84/filebuilder/contents/{+path}",
"compare_url": "https://api.github.com/repos/baraths84/filebuilder/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/baraths84/filebuilder/merges",
"archive_url": "https://api.github.com/repos/baraths84/filebuilder/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/baraths84/filebuilder/downloads",
"issues_url": "https://api.github.com/repos/baraths84/filebuilder/issues{/number}",
"pulls_url": "https://api.github.com/repos/baraths84/filebuilder/pulls{/number}",
"milestones_url": "https://api.github.com/repos/baraths84/filebuilder/milestones{/number}",
"notifications_url": "https://api.github.com/repos/baraths84/filebuilder/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/baraths84/filebuilder/labels{/name}",
"releases_url": "https://api.github.com/repos/baraths84/filebuilder/releases{/id}",
"deployments_url": "https://api.github.com/repos/baraths84/filebuilder/deployments",
"created_at": "2018-09-12T17:19:49Z",
"updated_at": "2020-08-13T22:54:30Z",
"pushed_at": "2020-08-14T03:46:31Z",
"git_url": "git://github.com/baraths84/filebuilder.git",
"ssh_url": "[email protected]:baraths84/filebuilder.git",
"clone_url": "https://github.com/baraths84/filebuilder.git",
"svn_url": "https://github.com/baraths84/filebuilder",
"homepage": null,
"size": 917,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 1,
"license": null,
"forks": 0,
"open_issues": 1,
"watchers": 0,
"default_branch": "master",
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"delete_branch_on_merge": false
}
},
"base": {
"label": "baraths84:master",
"ref": "master",
"sha": "096bcfb614ac0d829382e2afb52f8c22ba5bd91e",
"user": {
"login": "baraths84",
"id": 2089311,
"node_id": "MDQ6VXNlcjIwODkzMTE=",
"avatar_url": "https://avatars1.githubusercontent.com/u/2089311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baraths84",
"html_url": "https://github.com/baraths84",
"followers_url": "https://api.github.com/users/baraths84/followers",
"following_url": "https://api.github.com/users/baraths84/following{/other_user}",
"gists_url": "https://api.github.com/users/baraths84/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baraths84/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baraths84/subscriptions",
"organizations_url": "https://api.github.com/users/baraths84/orgs",
"repos_url": "https://api.github.com/users/baraths84/repos",
"events_url": "https://api.github.com/users/baraths84/events{/privacy}",
"received_events_url": "https://api.github.com/users/baraths84/received_events",
"type": "User",
"site_admin": false
},
"repo": {
"id": 148515704,
"node_id": "MDEwOlJlcG9zaXRvcnkxNDg1MTU3MDQ=",
"name": "filebuilder",
"full_name": "baraths84/filebuilder",
"private": false,
"owner": {
"login": "baraths84",
"id": 2089311,
"node_id": "MDQ6VXNlcjIwODkzMTE=",
"avatar_url": "https://avatars1.githubusercontent.com/u/2089311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baraths84",
"html_url": "https://github.com/baraths84",
"followers_url": "https://api.github.com/users/baraths84/followers",
"following_url": "https://api.github.com/users/baraths84/following{/other_user}",
"gists_url": "https://api.github.com/users/baraths84/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baraths84/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baraths84/subscriptions",
"organizations_url": "https://api.github.com/users/baraths84/orgs",
"repos_url": "https://api.github.com/users/baraths84/repos",
"events_url": "https://api.github.com/users/baraths84/events{/privacy}",
"received_events_url": "https://api.github.com/users/baraths84/received_events",
"type": "User",
"site_admin": false
},
"html_url": "https://github.com/baraths84/filebuilder",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/baraths84/filebuilder",
"forks_url": "https://api.github.com/repos/baraths84/filebuilder/forks",
"keys_url": "https://api.github.com/repos/baraths84/filebuilder/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/baraths84/filebuilder/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/baraths84/filebuilder/teams",
"hooks_url": "https://api.github.com/repos/baraths84/filebuilder/hooks",
"issue_events_url": "https://api.github.com/repos/baraths84/filebuilder/issues/events{/number}",
"events_url": "https://api.github.com/repos/baraths84/filebuilder/events",
"assignees_url": "https://api.github.com/repos/baraths84/filebuilder/assignees{/user}",
"branches_url": "https://api.github.com/repos/baraths84/filebuilder/branches{/branch}",
"tags_url": "https://api.github.com/repos/baraths84/filebuilder/tags",
"blobs_url": "https://api.github.com/repos/baraths84/filebuilder/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/baraths84/filebuilder/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/baraths84/filebuilder/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/baraths84/filebuilder/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/baraths84/filebuilder/statuses/{sha}",
"languages_url": "https://api.github.com/repos/baraths84/filebuilder/languages",
"stargazers_url": "https://api.github.com/repos/baraths84/filebuilder/stargazers",
"contributors_url": "https://api.github.com/repos/baraths84/filebuilder/contributors",
"subscribers_url": "https://api.github.com/repos/baraths84/filebuilder/subscribers",
"subscription_url": "https://api.github.com/repos/baraths84/filebuilder/subscription",
"commits_url": "https://api.github.com/repos/baraths84/filebuilder/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/baraths84/filebuilder/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/baraths84/filebuilder/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/baraths84/filebuilder/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/baraths84/filebuilder/contents/{+path}",
"compare_url": "https://api.github.com/repos/baraths84/filebuilder/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/baraths84/filebuilder/merges",
"archive_url": "https://api.github.com/repos/baraths84/filebuilder/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/baraths84/filebuilder/downloads",
"issues_url": "https://api.github.com/repos/baraths84/filebuilder/issues{/number}",
"pulls_url": "https://api.github.com/repos/baraths84/filebuilder/pulls{/number}",
"milestones_url": "https://api.github.com/repos/baraths84/filebuilder/milestones{/number}",
"notifications_url": "https://api.github.com/repos/baraths84/filebuilder/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/baraths84/filebuilder/labels{/name}",
"releases_url": "https://api.github.com/repos/baraths84/filebuilder/releases{/id}",
"deployments_url": "https://api.github.com/repos/baraths84/filebuilder/deployments",
"created_at": "2018-09-12T17:19:49Z",
"updated_at": "2020-08-13T22:54:30Z",
"pushed_at": "2020-08-14T03:46:31Z",
"git_url": "git://github.com/baraths84/filebuilder.git",
"ssh_url": "[email protected]:baraths84/filebuilder.git",
"clone_url": "https://github.com/baraths84/filebuilder.git",
"svn_url": "https://github.com/baraths84/filebuilder",
"homepage": null,
"size": 917,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 1,
"license": null,
"forks": 0,
"open_issues": 1,
"watchers": 0,
"default_branch": "master",
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"delete_branch_on_merge": false
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/baraths84/filebuilder/pulls/4"
},
"html": {
"href": "https://github.com/baraths84/filebuilder/pull/4"
},
"issue": {
"href": "https://api.github.com/repos/baraths84/filebuilder/issues/4"
},
"comments": {
"href": "https://api.github.com/repos/baraths84/filebuilder/issues/4/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/baraths84/filebuilder/pulls/4/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/baraths84/filebuilder/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/baraths84/filebuilder/pulls/4/commits"
},
"statuses": {
"href": "https://api.github.com/repos/baraths84/filebuilder/statuses/238b18bcdab34e0193021fac54a88e92916dca76"
}
},
"author_association": "OWNER",
"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": 17,
"deletions": 3,
"changed_files": 1
},
"repository": {
"id": 148515704,
"node_id": "MDEwOlJlcG9zaXRvcnkxNDg1MTU3MDQ=",
"name": "filebuilder",
"full_name": "baraths84/filebuilder",
"private": false,
"owner": {
"login": "baraths84",
"id": 2089311,
"node_id": "MDQ6VXNlcjIwODkzMTE=",
"avatar_url": "https://avatars1.githubusercontent.com/u/2089311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baraths84",
"html_url": "https://github.com/baraths84",
"followers_url": "https://api.github.com/users/baraths84/followers",
"following_url": "https://api.github.com/users/baraths84/following{/other_user}",
"gists_url": "https://api.github.com/users/baraths84/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baraths84/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baraths84/subscriptions",
"organizations_url": "https://api.github.com/users/baraths84/orgs",
"repos_url": "https://api.github.com/users/baraths84/repos",
"events_url": "https://api.github.com/users/baraths84/events{/privacy}",
"received_events_url": "https://api.github.com/users/baraths84/received_events",
"type": "User",
"site_admin": false
},
"html_url": "https://github.com/baraths84/filebuilder",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/baraths84/filebuilder",
"forks_url": "https://api.github.com/repos/baraths84/filebuilder/forks",
"keys_url": "https://api.github.com/repos/baraths84/filebuilder/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/baraths84/filebuilder/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/baraths84/filebuilder/teams",
"hooks_url": "https://api.github.com/repos/baraths84/filebuilder/hooks",
"issue_events_url": "https://api.github.com/repos/baraths84/filebuilder/issues/events{/number}",
"events_url": "https://api.github.com/repos/baraths84/filebuilder/events",
"assignees_url": "https://api.github.com/repos/baraths84/filebuilder/assignees{/user}",
"branches_url": "https://api.github.com/repos/baraths84/filebuilder/branches{/branch}",
"tags_url": "https://api.github.com/repos/baraths84/filebuilder/tags",
"blobs_url": "https://api.github.com/repos/baraths84/filebuilder/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/baraths84/filebuilder/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/baraths84/filebuilder/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/baraths84/filebuilder/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/baraths84/filebuilder/statuses/{sha}",
"languages_url": "https://api.github.com/repos/baraths84/filebuilder/languages",
"stargazers_url": "https://api.github.com/repos/baraths84/filebuilder/stargazers",
"contributors_url": "https://api.github.com/repos/baraths84/filebuilder/contributors",
"subscribers_url": "https://api.github.com/repos/baraths84/filebuilder/subscribers",
"subscription_url": "https://api.github.com/repos/baraths84/filebuilder/subscription",
"commits_url": "https://api.github.com/repos/baraths84/filebuilder/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/baraths84/filebuilder/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/baraths84/filebuilder/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/baraths84/filebuilder/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/baraths84/filebuilder/contents/{+path}",
"compare_url": "https://api.github.com/repos/baraths84/filebuilder/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/baraths84/filebuilder/merges",
"archive_url": "https://api.github.com/repos/baraths84/filebuilder/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/baraths84/filebuilder/downloads",
"issues_url": "https://api.github.com/repos/baraths84/filebuilder/issues{/number}",
"pulls_url": "https://api.github.com/repos/baraths84/filebuilder/pulls{/number}",
"milestones_url": "https://api.github.com/repos/baraths84/filebuilder/milestones{/number}",
"notifications_url": "https://api.github.com/repos/baraths84/filebuilder/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/baraths84/filebuilder/labels{/name}",
"releases_url": "https://api.github.com/repos/baraths84/filebuilder/releases{/id}",
"deployments_url": "https://api.github.com/repos/baraths84/filebuilder/deployments",
"created_at": "2018-09-12T17:19:49Z",
"updated_at": "2020-08-13T22:54:30Z",
"pushed_at": "2020-08-14T03:46:31Z",
"git_url": "git://github.com/baraths84/filebuilder.git",
"ssh_url": "[email protected]:baraths84/filebuilder.git",
"clone_url": "https://github.com/baraths84/filebuilder.git",
"svn_url": "https://github.com/baraths84/filebuilder",
"homepage": null,
"size": 917,
"stargazers_count": 0,
"watchers_count": 0,
"language": "JavaScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 1,
"license": null,
"forks": 0,
"open_issues": 1,
"watchers": 0,
"default_branch": "master"
},
"sender": {
"login": "baraths84",
"id": 2089311,
"node_id": "MDQ6VXNlcjIwODkzMTE=",
"avatar_url": "https://avatars1.githubusercontent.com/u/2089311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baraths84",
"html_url": "https://github.com/baraths84",
"followers_url": "https://api.github.com/users/baraths84/followers",
"following_url": "https://api.github.com/users/baraths84/following{/other_user}",
"gists_url": "https://api.github.com/users/baraths84/gists{/gist_id}",
"starred_url": "https://api.github.com/users/baraths84/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/baraths84/subscriptions",
"organizations_url": "https://api.github.com/users/baraths84/orgs",
"repos_url": "https://api.github.com/users/baraths84/repos",
"events_url": "https://api.github.com/users/baraths84/events{/privacy}",
"received_events_url": "https://api.github.com/users/baraths84/received_events",
"type": "User",
"site_admin": false
}
}