Open
Description
👟 Reproduction steps
- Go to Appwrite Console.
- Navigate to Project > Domains.
- Attempt to add a custom domain (e.g., mydomain.com).
- Sometimes get a 500 Server Error or 400 error ("This domain is not allowed...").
- Observe error in Docker logs as above.
Here's the error detail:
Utopia\Database\Exception\Structure: Invalid document structure: Unknown attribute: "owner"
File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
Line: 3653
I also attached a screenshot from docker logs of the running appwrite service

👍 Expected behavior
Custom domain should be added, or clear validation message if domain is not allowed, but should not throw an "Unknown attribute: 'owner'" error or cause a 500 internal server error.
👎 Actual Behavior
When I try to add a custom domain in my self-hosted Appwrite instance (via the Console UI), I sometimes receive a 500 Server Error for some domains, or a 400 error stating "This domain is not allowed..." for others.
🎲 Appwrite version
Different version (specify in environment)
💻 Operating system
Linux
🧱 Your Environment
- Appwrite version: 1.7.4 (the same with 1.7.0)
- Deployment: Self-hosted (Docker)
- OS: Ubuntu 24.04
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
Something isn't workingSomething isn't working