Skip to content
Back

Storage images using custom domain return 404 for my project ID

  • 0
  • 2
  • Storage
  • Cloud
hen
20 Feb, 2026, 08:54

Some of the images uploaded to my storage bucket returns this error:

TypeScript
{
"message": "Project with the requested ID could not be found. Please check the value of the X-Appwrite-Project header to ensure the correct project ID is being used.",
"code": 404,
"type": "project_not_found",
"version": "1.8.1"
}

Where the project exists. After using the same url but https://fra.cloud.appwrite.io/ instead of my custom domain, it works for all images. I have not changed anything in my setup for months and it was working previously with our custom domain without any issues.

TL;DR
Users are experiencing files disappearing from storage bucket after a few minutes. File uploads are successful initially but vanish later. No deletions are being triggered by team members, Functions, or Webhooks. Antivirus on the bucket has been disabled and files are confirmed missing from the bucket. Solution: The thread does not provide a solution.
20 Feb, 2026, 12:30

<@492047073856978945> We're working on fixing this issue, I'll keep you posted ✌️

1
20 Feb, 2026, 13:04

<@492047073856978945> Could you please check now? It should be fixed, lmk if that isn't the case.

20 Feb, 2026, 13:21

seems to be working, thanks for quick fix

1
20 Feb, 2026, 14:54

hi, it seem i have similar issue

The problem: Users upload photos through my application to a storage bucket Files are successfully created and accessible immediately after upload After a few minutes, the files are completely removed from Storage They are not just inaccessible — they are gone from the bucket entirely (confirmed via Appwrite Console) No one on my team is deleting them, and there are no Functions or Webhooks in the project that could trigger deletion

What I've already tried: Verified that files are genuinely missing from the bucket in the Console (not a permissions issue) Disabled Antivirus on the bucket — the issue persists

Example of an affected file that was uploaded successfully but later became unavailable: https://fra.cloud.appwrite.io/v1/storage/buckets/689c2b500009f471f0e2/files/69986da8003302f4644a/preview?project=687e891f0025883f2ae6

Help pleasee

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