patochemP
Convex Community3y ago
18 replies
patochem

Can't import ID when using cli import feature

Hi!
Congrats on Convex. It's an awesome tool!

I'm trying to import data using the convex cli and json files but I need to also import the ID (I have a PK/FK situation)
But doing so always throws an error :
400 Bad Request: InvalidIdError: Hit an error while importing:
Provided document ID "4q2v7830x6335s3y3r56mngm9k8bh50" doesn't match '_id' field "4m04b2em2dp8ynmntab6cz929k4m528"


Can someone help me regarding that?
Was this page helpful?