glucinater
glucinater3mo ago

Snapshot import without ID

Hey I'm trying to import a snapshot export from my prod deployment into my dev deployment and am getting the following error
Hit an error while importing:
New table departments has IDs that conflict with existing internal table. Consider importing this table without `_id` fields or import into a new deployment
Hit an error while importing:
New table departments has IDs that conflict with existing internal table. Consider importing this table without `_id` fields or import into a new deployment
. Is there a quick way to get around this?
5 Replies
Convex Bot
Convex Bot3mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
glucinater
glucinaterOP3mo ago
Looking at the docs this seems to be a bug
Seed dev deployments with sample data, exported from prod or another dev deployment.
Seed dev deployments with sample data, exported from prod or another dev deployment.
lee
lee3mo ago
it sounds like you're hitting the issue mentioned in docs
Snapshot import is not always supported when importing into a deployment that was created before Convex version 1.7.
your deployment has creation time 2023-08-11 04:19:15.138173 (i was able to look up deployment metadata since you're verified) so that sounds like the issue there's no way to get around this, other than the options mentioned in the error message
glucinater
glucinaterOP3mo ago
is there a way to update the deployment?
lee
lee3mo ago
there is not, sorry

Did you find this page helpful?