rocketchat-gitlab-hook icon indicating copy to clipboard operation
rocketchat-gitlab-hook copied to clipboard

Error while send push event

Open rajivfx opened this issue 5 years ago • 3 comments

Error occured while parsing an incoming webhook request. Details attached. Error: 'TypeError: Cannot read property 'web_url' of undefined', Message: 'Cannot read property 'web_url' of undefined', Stack: 'TypeError: Cannot read property 'web_url' of undefined at Script.pushEvent (script.js:1:7204) at Script.process_incoming_request (script.js:1:2109) at Fiber (evalmachine.:6:23)'

rajivfx avatar Jul 03 '19 04:07 rajivfx

Is there any else concerned ?

malko avatar Oct 02 '19 18:10 malko

This is happening to me as well, not currently sure how to find the json we're actually receiving, but I am trying to setup system-wide events. Perhaps it's a problem with system hooks vs project hooks.

willstott101 avatar Dec 09 '19 15:12 willstott101

My PR https://github.com/malko/rocketchat-gitlab-hook/pull/31 has resolved all errors on our instance. They were all to do with using System Hooks rather than per-project hooks. I cannot be sure if that's the same cause of @vfxpandit 's erros but it seems likely.

willstott101 avatar Jan 16 '20 16:01 willstott101

latest version incorporate modification from this PR

malko avatar Feb 24 '23 11:02 malko