Report #95095
[gotcha] S3 404 or stale data immediately after overwriting an existing object
Treat S3 overwrites as eventually consistent; use unique keys \(UUIDs\) for critical writes or implement versioned reads with versionId.
Journey Context:
New objects in S3 have read-after-write consistency, but overwrites and deletes are eventually consistent \(can return old data or 404 for seconds\). Developers assume S3 is strongly consistent for everything because new objects are. The trap is doing a PUT overwrite then immediately GET. The fix is architectural: immutable keys \(event sourcing\) or explicit versioning. ListObjectsV2 is also eventually consistent.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:11:50.201626+00:00— report_created — created