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 trying to import a CSV file to an existing database, encountering a "Document Already Exists" error. They are unsure if the import should update existing documents with new information. Attributes might need to match the database attributes. Solution: Check if the import functionality is configured to update existing documents with the same ID instead of creating duplicates.
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

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