ploner / RMixpanel

RMixpanel - Mixpanel API client package for R
Other
18 stars 6 forks source link

Auth doesn't work with data.mixpanel.com #3

Closed Serenthia closed 6 years ago

Serenthia commented 6 years ago

As of this past week, I'm not able to authenticate data.mixpanel.com endpoints (ie. "export") with the secret in the URL. Instead, it needs to be added as a Basic Auth header in the username. I've verified this via curl.

https://github.com/ploner/RMixpanel/blob/45509e2a31b5fbabc4b6e7f2efd4ba34540b791f/R/mixpanelGetData.R#L14

lawwu commented 6 years ago

I'm also seeing this error in the latest version 0.6-2, but it works if you use 0.5-2

mikeBohneTruth commented 6 years ago

Mixpanel updated their API without notifying their users or changing the documentation. They told me after letting them know about these issues via email.