Stoplight
9 months agoCommunity Manager
404 error when installing GitHub webhook
Originally posted by user Luca P. to the Stoplight Community on 07/11/2023 at 11:09 ET.
Hi all, when I try to install a GitHub webhook for my project, I get an error stating:
"Something went wrong while installing this webhook. You may not have the correct GitHub permissions to perform this action in your external VCS."
As my permissions should be ok, I checked the raw /graphql API response, and it seems the error is a '404 not found':
{
"data": null,
"errors": [
{
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"message": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/webhooks/repos#list-repository-webhooks\"}"
},
"path": [
"createExternalWebhook"
],
"message": "Request failed with status code 404",
"locations": [
{
"line": 1,
"column": 31
}
]
}
]
}
Caitlin (Staff) [07/12/2023 - 15:57 ET]
Hello, we do have a support article here on how to revoke and re-add access to your Github account and that may resolve your issue: https://support.stoplight.io/s/article/Unable-to-clone-Github-repositories-HTTP-Error-404.