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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Appwrite Storage error 503s for automate...
I'm facing error 503s from Appwrite after about 5-6 seconds of making AI requests from my tool with images and files above 20MB (=> not inline base64 used, but ...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...