Error 409 during deletion of file #516

Open
opened 2026-02-16 00:18:06 -05:00 by yindo · 1 comment
Owner

Originally created by @kx221005 on GitHub (Aug 8, 2025).

Hi, i am trying to delete a file using api. But i got this error during deletion.

Conflict: Integrity constraint violated. Please check to ensure an entity with the same name hasn't already been created

Originally created by @kx221005 on GitHub (Aug 8, 2025). Hi, i am trying to delete a file using api. But i got this error during deletion. Conflict: Integrity constraint violated. Please check to ensure an entity with the same `name` hasn't already been created
Author
Owner

@AntonDobrev commented on GitHub (Aug 10, 2025):

+1 here

Affects both files uploaded via the UI and files uploaded via the Upload File endpoint.

Because the Delete File endpoint documentations states that it is used to "Delete the file from S3." perhaps we can use this endpoint for files only uploaded via a predesigned S3 URL and then synced?

Tried via the API with either the org and project id params and without them.

@AntonDobrev commented on GitHub (Aug 10, 2025): +1 here Affects both files uploaded via the UI and files uploaded via the `Upload File` endpoint. Because the `Delete File` endpoint documentations states that it is used to "Delete the file from S3." perhaps we can use this endpoint for files only uploaded via a predesigned S3 URL and then synced? Tried via the API with either the org and project id params and without them.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#516