Comments (5)
The expire
parameter is used to authenticate your request and is set here to UTC time in seconds plus 60 seconds:
https://github.com/stpe/mixpanel-engage-query/blob/master/engage.js#L123
As documented here in the Mixpanel API:
https://mixpanel.com/docs/api-documentation/data-export-api#auth-implementation
Your request shouldn't expire if your internal clock is in sync, but try changing the 60 seconds to something more to give more margin for error.
Let me know if you get it to work. Thanks.
from mixpanel-engage-query.
Weird, seem to be resolved, I am running it from a virtual machine, and I was not on my network, maybe something funky occurred, anyway seems to be working fine ATM.
Thanks!
from mixpanel-engage-query.
I had this issue just now as well on Mac OS X: my clock seems to be slower than real time.
Click on Clock on menu bar "Open Date & Time Preferences..." and then your clock gets synced to Internet Time (it should do that the whole time, but for some reason, it doesn't).
After that, no error.
from mixpanel-engage-query.
Thanks for the tip @godspeedelbow!
Maybe worth to add the expire variable as a parameter in case of situations like this (and if there is a need to construct URLs with another expire period using the --url
parameter), hmm...
from mixpanel-engage-query.
For anyone finding this issue. Another quick way to update the internal clock is, using Terminal:
ntpdate -s pool.ntp.org
from mixpanel-engage-query.
Related Issues (8)
- Optionally read API key and secret from process.env.ENV_VARIABLE HOT 1
- Support .*rc file for configuration
- Split on comma instead on space for properties (p and r) HOT 2
- Specified output fields separator
- Remove secrets from repo HOT 1
- Use bin in package.json
- Filename, directory name incorrect message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mixpanel-engage-query.