
When using users.create with password undefined it creates an anonymous user even through email and phone number and name are added. If I do a blank space for password it gives an error that the password length must be at least 8. Is there a way to create a user so that the email address phone number and name are populated?

What version of the SDK are you using?

Can't reproduce
node-appwrite@18.0.0:
const user = await users.create({
userId: "unique()",
name: "Demo user",
email: "demo@example.org"
});
node-appwrite@17.2.0:
const user = await users.create(
"unique()",
"demo@example.com",
undefined,
undefined,
"Demo User"
);
Tested against Appwrite v1.8.0


I see the issue for some reason it is running version 9.0.0 i will update it and see what happens

I just tried with node-appwrite@9.0.0
(using the same code as for node-appwrite@17.2.0
above) and it worked

This is what I was trying await users.create(ID.unique(), data.email, data.number, undefined, data.name);

And what do you get? Have you checked that the email address, phone number and name in those variables is actually what you're expecting?

Yes they were all there doing a log but it would just make an anonymous user but trying with the update now

What's the response on users.create()
?

{"$id":"68af19c70017708ed8de","$createdAt":"2025-08-27T14:44:23.470+00:00","$updatedAt":"2025-08-27T14:44:23.470+00:00","name":"","password":null,"hash":"argon2","hashOptions":{"type":"argon2","memoryCost":2048,"timeCost":4,"threads":3},"registration":"2025-08-27T14:44:23.469+00:00","status":true,"labels":[],"passwordUpdate":"","email":"","phone":"","emailVerification":false,"phoneVerification":false,"mfa":false,"prefs":{},"targets":[],"accessedAt":""}

Thats what I get still with await users.create({
userId: ID.unique(),
email: data.email,
phone: data.number,
name: data.name
});

Confirmed its the 18.0.0 version

Huh. And data.email
, etc, definitely contains an email address?

Here is the whole log:
{"email":"king33722000@gmail.com","name":"Rickey Lee","number":"+12205559092"}
{"$id":"68af19c70017708ed8de","$createdAt":"2025-08-27T14:44:23.470+00:00","$updatedAt":"2025-08-27T14:44:23.470+00:00","name":"","password":null,"hash":"argon2","hashOptions":{"type":"argon2","memoryCost":2048,"timeCost":4,"threads":3},"registration":"2025-08-27T14:44:23.469+00:00","status":true,"labels":[],"passwordUpdate":"","email":"","phone":"","emailVerification":false,"phoneVerification":false,"mfa":false,"prefs":{},"targets":[],"accessedAt":""}```
Recommended threads
- I'm using the react-native-appwrite pack...
I'm using the react-native-appwrite package. How do I get an image from storage and display it on the screen?
- Realtime Not Working
There seems to be an issue with realtime. Last night it was working for a few hours then stopped. Checked this morning and it was working no code change and now...
- Mock Phone Numbers
Do mock phone number accounts that generate a session follow the same process as a real account? I ask because while testing. After a few hours I have to log in...
