mixpanel node api throws intermittent errors

  • 24 March 2019
  • 1 reply



I am currently testing mixpanel and can send event data using the mixpanel.track api of the node interface. However, it can happen every so often that an event will fail. If I resend the event it can than also fail again, but on the third or fourth try goes through. However, the live view in mixpanel seems to indicate that all events made it through.

Can someone explain what is happening here? Either the node api or the live view is unreliable.

Are there perhaps throttling rules or rate limiting in place? If so, how to work around that so that the tracking of data is more reliable?

FWIW, I'm only sending about 1000 or so events a day.

Thanks for any advice.

1 reply

Badge +3

Seeing the same type of problem (appears to be documented at We're using the node.js API in AWS lambda and getting the following error:

"errorMessage": "Mixpanel Server Error: null",    
"errorType": "Error",    
"stackTrace": [ "IncomingMessage.<anonymous> (/var/task/webpack:/node_modules/mixpanel/lib/mixpanel-node.js:136:1)",
"emitNone (events.js:111:20)",
"IncomingMessage.emit (events.js:208:7)",
"endReadableNT (_stream_readable.js:1064:12)",
"_combinedTickCallback (internal/process/next_tick.js:138:11)",
"process._tickDomainCallback (internal/process/next_tick.js:218:9)"]
It appears that events are still being tracked, but our calls to update persons aren't.