DrogulusD
Convex Community3mo ago
4 replies
Drogulus

Masterdata import/export

Im trying to export/import some masterdata from dev to prod. Ive made the exports, and have the jsonl files ready. im using the following command

PS C:\Users\Niels\test\Project> npx convex import >> --url https://gr*******************.convex.cloud
>> --table masterdata_brands >> "$env:USERPROFILE\Desktop\convex\masterdata_brands\documents.jsonl"
>> --replace --prod

but keep getting errors that ID's have conflicts with existing other tables (that are empty by the way) and have no connection with each other in the schema. How can i fix this and import anyway?

I rather not remove the ID's because they are nested 3 levels deep (brand -> familie -> product) in de export.
Was this page helpful?