melissaguyre / mixpanel-segmentation-google-spreadsheets

Mixpanel Segmentation Data Export script for report automation into Google Spreadsheets
46 stars 32 forks source link

Invalid API signature #1

Open cerupcat opened 10 years ago

cerupcat commented 10 years ago

When I try to get the data, it's saying "Invalid API signature" and fails.

I've set my API key/secret. Any tips on what I might be missing?

melissaguyre commented 10 years ago

Hey there - Have you filled in your API_PARAMETERS to query and create sheets for? There could be problems with what you put in that the Mixpanel API auth does not like.

var API_PARAMETERS = { 'My first sheet' : [ 'event', 'where', 'type', 'unit' ], };

For example: 'Sign Ups' : [ '$signup', '(properties["Platform"])=="iPhone" and (properties["mp_country_code"])=="GB"', 'general', 'day' ],

Happy to take a look at your query parameters too.

esaruoho commented 6 years ago

I'm getting this error now too. I'm kind of thinking maybe it could be because of mixpanel events having been tweaked a bit and maybe some are missing now from our mixpanel end. i've reached out to the mixpanel peeps to ask about it, too.