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
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