I must be missing something. Using the tool at https://developer.mixpanel.com/reference/engage-query I’m able to make a Node request and receive back results as expected. If I copy and paste the sample code into my local machine and execute it (tried both node 12 and 14)
const sdk = require('api')('@mixpaneldevdocs/v2.82#gazup2bkv0dev1l');
sdk.auth(service account info)
I consistently receive the error on the engage-query call:
Error: Sorry, this API currently requires multiple forms of authentication which we don't yet support.
The api library prepareAuth.js is getting two schemes: Service Account, Project Secret.
The data is returned, and I can consume it by editing the prepareAuth.js file. prepareAuth.js is specifically checking for a length >1 on the schemes, which mixpanel is returning.
I’m using firstname.lastname@example.org (latest at time of typing this). Any feedback is greatly appreciated.