I’ve implemented Mixpanel locally and it works on my machine as well as another developers machine locally, however after launching to production we’re getting the error above. We’re using the client-side Mixpanel SDK and installed it with the npm mixpanel-browser package.
Events are all firing to the “Live View” fine and user’s are being identified locally perfect, but as mentioned in production it fails.
Best answer by jcq
Thread can be closed/deleted, my build process had an error with Laravel mix and was failing to correctly build our ENV keys which is where I had the token so it worked locally but not remotely.