-
Notifications
You must be signed in to change notification settings - Fork 88
Lambada Webhook POST failing on validation #56
Comments
Hi @baraths84, I'm not entirely sure as there is not much logs from lambda itself you shared but I have some ideas what could go wrong. The response error This is the code that potentially failed: repo-supervisor/src/helpers/url.js Lines 5 to 13 in 6d3f0ce
If you are debugging that please check if Please verify:
|
Hi @radekk - Thanks for the inputs. I am still stuck on the same error. i debugged and observed the payload flowing in "event" is not empty - full json is logging correctly reference here.
I am still getting the same error. AWS screenshots reference here |
@baraths84 In the payload you included I see that there is Would you be able to edit the source code and implement a change in a file: repo-supervisor/src/helpers/url.js Line 9 in 6d3f0ce
Then rebuild and repackage the repo-supervisor: Let me know if this worked. |
Hi @radekk , Thank you for debugging more!This helped fix the issue. Few other observations after applying the fix(sequence of fixes below):
With above changes - the flow worked without any issues. Thanks ! |
@baraths84 I'm glad to hear that it worked for you 👏 There seems to be some changes either in the way how Lambda headers are normalized (lowercase) or how github headers are sent. I'm going to investigate that and implement necessary fixes in the stable release. Thank you for debugging and helping to identify these issues. |
vI have configured the AWS lambda and gateway but Github web hook during PULL Request event POST call returning the below error:
POST Response code : 422
POST Response Body :
Request Header :
Request Body :
Any pointers please @radekk . Thanks
The text was updated successfully, but these errors were encountered: