What means this error when importing lexicon of profile properties? How can I solve this?
'truncate' option failed because the project has more than 3000 schema entities and/or properties, you cannot truncate the project in one request.
Hi Max P., 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
This error means that when you try to import a Lexicon (data dictionary) for profile properties using the "truncate" option (which deletes all existing schemas before importing new ones), your project has more than 3000 schema entities and/or properties. The Mixpanel Lexicon Schemas API enforces a limit of 3000 total truncations/deletions per request. If you exceed this, the API will reject the request with the error you received.How to solve this: - You need to break your import into smaller batches. Instead of trying to truncate (delete) all schemas in one request, perform multiple requests, each affecting fewer than 3000 entities/properties. - Alternatively, avoid using the "truncate" option and update or replace only the specific schemas you need to change, rather than deleting everything at once.This limitation is documented in the API limits:
"total truncations/deletions per request: 3000. If you approach these limits, consider breaking your requests into smaller batches. These limits are typically reached when performing bulk create or update operations."
Mixpanel Lexicon Schemas API LimitsSo, to resolve the error, split your import into several requests, each with fewer than 3000 deletions/truncations, or update only the necessary schemas without truncating the entire project.
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.
How can I add/edit Display Names of Profile Properties in a batch?
Let me check the knowledge base for you again. One moment! 📚
I'm sorry, but the knowledge sources provided do not contain explicit information about how to add or edit Display Names of Profile Properties in a batch in Mixpanel. The available documentation covers batch updates for user and group profiles, as well as API limits for schema operations, but does not detail batch editing of Display Names for profile properties specifically.If you need to perform this action, I recommend consulting Mixpanel's official documentation or support for guidance on managing Display Names in bulk.
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.
