Question

Terminated Early response from https://data-eu.mixpanel.com/api/2.0/export

  • 13 December 2021
  • 0 replies
  • 11 views

I’m trying to pull event data from the event export api, but I keep getting a terminated early response.

I’ve tried solutions from other posts that involved authenticating via -u API_SECRET but no succes. This is my request:

curl --request GET \

     --url 'https://data-eu.mixpanel.com/api/2.0/export?from_date=2021-01-01&to_date=2021-12-12&limit=1&projectId=XXXX' \

     --header 'Accept: text/plain' \

     --header 'Authorization: Basic XXXXX'

Response

terminated early

 

Also tried: 

curl -u "API_SECRET:XXXX" --url "https://data-eu.mixpanel.com/api/2.0/export?from_date=2021-01-01&to_date=2021-12-12&project_id=XXXX&limit=1" --header "Accept: text/plain"

 

And

curl -u "<username>:<password>" --url "https://data-eu.mixpanel.com/api/2.0/export?from_date=2021-01-01&to_date=2021-12-12&project_id=XXXX&limit=1" --header "Accept: text/plain"

 

But same response

I’m I doing something wrong?


0 replies

Be the first to reply!

Reply