I just tried to query the API under https://eu.mixpanel.com/api/query/events via service account and it returned an error ("Your plan does not allow API calls. Upgrade at mixpanel.com/pricing"). I upgraded to the Growth plan, but the error message remains the same?
Hi Johannes B., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> đ
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
I can help you troubleshoot this API access issue. Based on the knowledge sources, here are a few things to check:
Verify Your Plan Upgrade
First, confirm that your Growth plan upgrade has been fully processed. According to the billing documentation, Mixpanel runs on a subscription service where your card is charged at the beginning of the billing period. The upgrade may take a few minutes to process.
Check Your API Endpoint
I notice you're using [https://eu.mixpanel.com/api/query/events](https://eu.mixpanel.com/api/query/events) - this doesn't appear to be a standard Mixpanel API endpoint. According to the Query API authentication documentation and API overview, the correct Query API endpoint for EU residency should be: **[eu.mixpanel.com/api*](http://eu.mixpanel.com/api`**)The Query API is used to get calculated data that powers Mixpanel's reports (Insights, Funnels, Retention, etc.).
Service Account Authentication
When using Service Account authentication with the Query API, make sure you: 1. Include the project_id as a request parameter
2. Use HTTP Basic Auth with your service account username and secret
Query API Access
The export methods documentation confirms that the Query API is included for Growth and Enterprise plans, so your upgraded plan should have access.If the issue persists after verifying the correct endpoint and confirming your plan upgrade has processed, I'd recommend reaching out to Mixpanel support, as there may be a delay in your account permissions being updated after the upgrade.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
âšī¸Â Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
