-
Notifications
You must be signed in to change notification settings - Fork 65.5k
Open
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamtriageDo not begin working on this issue until triaged by the teamDo not begin working on this issue until triaged by the team
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries
https://github.com/github/docs/blob/main/content/webhooks/using-webhooks/validating-webhook-deliveries.md
What part(s) of the article would you like to see updated?
When the webhook message can't be validated:
the ruby example halts with a status code of 500
the python example raises an http exception with a status code of 403
the javascript example sends a status code of 401
the behaviour difference in each example is confusing to new developers, which status code should be used when the payload can't be verified?
Additional information
No response
Metadata
Metadata
Assignees
Labels
contentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamtriageDo not begin working on this issue until triaged by the teamDo not begin working on this issue until triaged by the team