appwrite/appwrite

🐛 Bug Report: All Users.CreateUser... endpoints return a vague server error is null name is provided

Open

#8 785 ouverte le 10 oct. 2024

Voir sur GitHub
 (50 commentaires) (0 réactions) (1 assigné)TypeScript (56 074 stars) (5 346 forks)batch import
buggood first issueproduct / auth

Description

👟 Reproduction steps

POST to /v1/users or any of the "create user with ___ password" endpoints Create body with a defined UserId, and a name: null. Observe the vague server error

👍 Expected behavior

No server error, should continue creating the user with no name. Name is optional anyway, so specifying it as null should not create this error.

👎 Actual Behavior

Image

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Windows

🧱 Your Environment

I am developing my own SDK, hence running into this issue. I can work around it of course, but there shouldn't be a reason for this to occur in the first place. I have replicated it using postman to eliminate any possible issues at a deeper level within my own SDK.

Wasn't sure if you would care about this sort of issue, but received no answer on Discord as to whether to file this or not.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Guide contributeur