appwrite: ๐Ÿ› Bug Report: All Users.CreateUser... endpoints return a vague server error is null name is provided

๐Ÿ‘Ÿ 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?

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 19 (3 by maintainers)

Most upvoted comments

@vaifai assigned! Let us know if you wonโ€™t be able to work on this.