Skip to content
Back

import csv "Document already exists"

  • 0
  • Self Hosted
  • Databases
seethingword
7 Sep, 2025, 17:26

When I try to import a csv file to an already existing database, I keep getting "Document Already Exists"

I thought that when I import and a document with the same ID already exists, it would update the document with the new information

TL;DR
Developers are experiencing an issue where importing a CSV file to an existing database gives the "Document Already Exists" error instead of updating the document. Attribute order shouldn't matter. Try checking the import settings to ensure the update behavior is selected.
seethingword
7 Sep, 2025, 17:26

All my attributes match the database attributes. Are they supposed to be in the same order or something?

ideclon
7 Sep, 2025, 17:52

I thought that when I import and a document with the same ID already exists, it would update the document with the new information I've never personally tried this feature, but I'd be surprised if that were the case

seethingword
7 Sep, 2025, 17:54

See I was able to do it before but now I cant for some reason

Steven
7 Oct, 2025, 21:20

no it does not update. it only creates

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more