I'm following the JQL tutorial here:
To test I use the following command:
curl https://data.mixpanel.com/api/2.0/jql/ -u SECRET: --data-urlencode email@example.com
I get the following Authentication error:
<?xml version='1.0' encoding='UTF-8'?><Error><Code>AuthenticationRequired</Code><Message>Authentication required.</Message></Error>
I'm able to access the API to export raw data and the query API using that authentication method outlined above so I’m puzzled why it’s not working for this.
Anyone know what I'm doing wrong?