Webhook listener is crashing the app #802
Unanswered
ramkishore-yerubandi
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hey @ramkishore-yerubandi thanks for posting -- we have a fix for this in progress: #801 You should be able to apply the fix locally with (assuming you're using git):
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Registered for the Webhook, added listener with a callback as well. On Product change getting below error. Could not find the root cause. How can we fix this?
Failed to process webhook: Error: Could not validate request for topic products/update
┃ node:internal/errors:464
┃ ErrorCaptureStackTrace(err);
┃ ^
┃
┃ Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
┃ at new NodeError (node:internal/errors:371:5)
┃ at ServerResponse.setHeader (node:_http_outgoing:576:11)
┃ at ServerResponse.header (/Users/Workspace/rbridge/node_modules/express/lib/response.js:776:10)
┃ at ServerResponse.contentType (/Users/Workspace/rbridge/node_modules/express/lib/response.js:604:15)
┃ at ServerResponse.send (/Users/Workspace/rbridge/node_modules/express/lib/response.js:145:14)
┃ at file:///Users/Workspace/rbridge/server/index.js:65:23
┃ at processTicksAndRejections (node:internal/process/task_queues:96:5) {
┃ code: 'ERR_HTTP_HEADERS_SENT'
Beta Was this translation helpful? Give feedback.
All reactions