我创建了一个GitHub Web钩子函数,将Function URL
和GitHub Secret
复制并粘贴到Function URL
和GitHub Secret
到在GitHub中创建的Webhook中,然后继续得到以下错误。
{"Message":"The WebHook signature provided by the 'X-Hub-Signature' header
field does not match the value expected by the 'GitHubWebHookReceiver'
receiver. WebHook request is invalid."}
知道我做错什么了吗?
发布于 2016-11-15 17:45:22
好的,原来开发页面中的GitHub Secret
与管理页上的_master
键与Admin Keys (All Functions)
键匹配。
当我使用来自default
的Function Keys
密钥时,它就开始工作了。根据这些部分的名称,这听起来像是我真正想要使用的键,而且可能门户在GitHub秘密字段中显示了错误的键。
不确定这是答案还是解决办法。
https://stackoverflow.com/questions/40615743
复制相似问题