I have my web app deployed in a kubernetes cluster and Webhooks seem to be working properly in the test env or the cluster. But when we respond to webhooks in our production env. we get an error. Can anyone shed light as to what the problem might be?
Thanks,
Corey
2022-07-18 12:44:27 2022-07-18 05:44:27 info: production 2022-07-18 12:44:27 2022-07-18 05:44:27 info: production 2022-07-18 12:44:27 2022-07-18 05:44:27 warn: webhook(3ZJW9YCDFN641:ee6b3374-cf47-9af3-3ecc-f53291ae00ff) -> Error occurred while process event data, caused by -- TypeError: Cannot read properties of undefined (reading 'length') 2022-07-18 12:44:26 2022-07-18 05:44:26 info: backoff(3ZJW9YCDFN641) -> { merchantId: 3ZJW9YCDFN641, webhook: {"_id":"62d48558fe5c6e3e7435ec6c","event_id":"QP5HA7EBZ95HR","event_object":"O","event_ts":1658094935075,"event_type":"UPDATE","merchant_id":"3ZJW9YCDFN641","__v":0,"event_status":"PENDING","event_status_comment":"System could not process to retrieve data from Clover API properly!","event_status_time":1658114906098} } 2022-07-18 12:44:26 2022-07-18 05:44:26 info: webhook(CVPCY57R08WN1) -> { appId: 75DY65YX31M9C, merchantId: CVPCY57R08WN1, webhook: {"merchant_id":"CVPCY57R08WN1","event_object":"O","event_id":"FAF7TFXYC47WP","event_type":"UPDATE","event_ts":1658123065334} }