Adam HarrisA
Convex Community2y ago
8 replies
Adam Harris

Can't import snapshot to dev

Hi, I've exported a snapshot from production and I'm trying to import it into my dev instance.

However when I try and do the import I'm getting the following error:

Hit an error while importing:
New table myTableName has IDs that conflict with existing table documents


The steps I'm taking are as follows:

- Clear all dev tables manually
- Run a Snapshot Export on the (prod) dashboard
- Run npx convex import —replace SNAPSHOT_NAME.zip

When running the import, I see the following:

Import change summary:
table | create | delete |
----------------------------------------------
table1Name | 166 | 0 of 0 |
table2Name | 1 | 0 of 0 |
....

i.e. all tables are showing that nothing is in there to conflict...

Any help with this would be much appreciated.
Was this page helpful?