Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import_data endpoint missing or failing #52

Open
illpack opened this issue Mar 28, 2023 · 0 comments
Open

import_data endpoint missing or failing #52

illpack opened this issue Mar 28, 2023 · 0 comments

Comments

@illpack
Copy link

illpack commented Mar 28, 2023

I would like to test Mixpanel to see if it's the right fit for my purposes but I am hitting a wall while trying to import old data.

I am trying to import_data like

mp.import_data(
  api_key='API Secret',
  api_secret='PROJECT_TOKEN',
  distinct_id=username,
  event_name=event_name,
  timestamp=unix_seconds,
  properties=payload,
)

and I keep getting different authentication errors.
Docs state the api_key param is deprecated but it complains if I don't pass it.

Is this method working, or how can we make it work / make the documentation clear?
Thank you,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant