Question

Error 502 bad gateway


Hi all, 

I am trying to get data out of mixpanel using Python. I used the mixpanelutil package to run JQL to extract events data, but it keeps returning 502. Please let me know if there is any solution for this. Thanks. 

 

mputils = MixpanelUtils(api_secret=api_secret, token=project_token)
query_start = datetime.now()
print('Running query...')
results = mputils.query_jql(query)
query_stop = datetime.now()

 


0 replies

Be the first to reply!

Reply