
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
/url
column 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
- Realtime didn't work in react native exp...
``` useEffect(() => { const { client } = createClient(); const unsubscribe = client.subscribe(`databases.${process.env.EXPO_PUBLIC_APPWRITE_DATABASE}.t...
- I had a new error pop up today when test...
I've been working on my app, it worked fine previously but now I recieve Invalid Origin: Register your new client as a new iOS platform on your project console ...
- Auth missing scope account
[500] GET /dashboard ReferenceError: user is not defined at _page (src/routes/dashboard/+page.svelte:24:2) at eval (.svelte-kit/generated/root.svelte:71...
