auth0-extensions / auth0-logs-to-mixpanel Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
The script dies with the following error on auth0.com. Not sure what's up, the setup goes smoothly.
result: Object
scheduled_at: Mon Aug 01 2016 16:50:00 GMT-0400 (EDT)
started_at: Mon Aug 01 2016 16:50:16 GMT-0400 (EDT)
completed_at: Mon Aug 01 2016 16:50:17 GMT-0400 (EDT)
type: "error"
▶headers: Object
statusCode: 500
error: null
body: "{
"code": 500,
"error": "Script generated an unhandled asynchronous exception.",
"details": "TypeError: Cannot read property 'event' of undefined",
"name": "TypeError",
"message": "Cannot read property 'event' of undefined",
"stack": "TypeError: Cannot read property 'event' of undefined\n at /data/neutun%2F24509c31d0837e6fddde3eef311579f1:153:48\n at Array.map (native)\n at /data/neutun%2F24509c31d0837e6fddde3eef311579f1:152:46\n at /data/neutun%2F24509c31d0837e6fddde3eef311579f1:173:12\n at fn (/data/node_modules/async/lib/async.js:746:34)\n at /data/node_modules/async/lib/async.js:1213:16\n at /data/node_modules/async/lib/async.js:166:37\n at /data/node_modules/async/lib/async.js:706:43\n at /data/node_modules/async/lib/async.js:167:37\n at Immediate._onImmediate (/data/node_modules/async/lib/async.js:1206:34)\n at processImmediate [as _immediateCallback] (timers.js:383:17)"
}"
I followed the integration instructions from the following page and I see 'success' status messages in the auth0 logs, but no events are showing up in Mixpanel.
https://auth0.com/docs/extensions/mixpanel
auth0 logs--
10:23:50 AM: new webtask request 1479320629864.487453
10:23:50 AM: Logs from: Start.
10:23:51 AM: Total logs: 52.
10:23:51 AM: Sending 17
10:23:51 AM: Upload complete.
Job complete.
10:23:51 AM: finished webtask request 1479320629864.487453 with HTTP 200 in 1374ms
Currently, when I import the logs into Mixpanel the DistinctId is shown as auth0_logs
. I think it would be more useful to have the distinct_id
to be the user_id
. It seems like in the line below the distinct_id
is set but not propagated into Mixpanel.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.