Open akshitkrnagpal opened 1 year ago
This mainly happens in serverless functions due to the calling route closing before completing the request to mixpanel.
As mentioned in (https://github.com/mixpanel/mixpanel-node/issues/175#issuecomment-1497162831), Wrapping the tracking code with a promise solved this issue for me.
Hi
We have recently integrated
mixpanel-node
to send serverside events. Most of the events are being recorded but once in a while we get the following error and the event is NOT recorded.We would like some guidance to make sure we are sending all events without any data loss.