CLI throws "Unsupported attribute type: email" when pushing tables with email or url field types.
Environment
- CLI: appwrite-cli (npx)
- Region: NYC Cloud
- OS: Windows 11
Error
Error: Unsupported attribute type: email
at createAttribute (.../appwrite-cli/lib/commands/push.js:560:19)
Configuration
{
"tables": [{
"$id": "users",
"columns": [{
"key": "email",
"type": "email",
"required": true
}]
}]
}
Expected
According to docs, email and url are supported column types. CLI should create these columns successfully.
Actual
CLI fails with "Unsupported attribute type" for both email and url types.
Steps
- Add
email/urlcolumn toappwrite.config.json - Run
npx appwrite-cli push tables - Error occurs during deployment
Workaround
Using string type works but loses validation benefits.
Request
How should I go about this CLI compatibility with documented email and url field types.
Recommended threads
- [Regression] Appwrite 25.1.0 returns Inv...
I've already opened an issue on GitHub, but somewhat it doesn't seem like GitHub is monitored very closely, so I'm leaving a bug report here on Discord as well....
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...