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
- Error With iOS Apps
I keep getting the below errors for my flutter app. The clients are registered and have been. This wasn't an issue a few hours ago. AppwriteException: AppwriteE...
- Backup policies think im on free tier
Cant create more than one policy as im told to ugprade, when clicking upgrade im taken to the upgrade page which confirms im already on pro
- Cant get rid of "get started"
Not that important, but annoying. No matter what I do I cant get the "Get started" to go away, ive added a bunch of web platforms and its just stuck.