Hi, when I test create new user, it is failed with 400 error User: Administrator or Owner
Create message (ok)
Create new user (failed)
ERROR: Bad request - please check your parameters
400 - {“result”:“error”,“msg”:“User not authorized for this query”}
“result”:
“error” ,
“msg”:
“User not authorized for this query”
I took a quick look at the Zulip API documentation and according to that, you might have to enable can_create_users. Is this already enabled? Also, can you provide me the credentials to test? You can DM me the credentials.
I test zulip documentation carefully at that link, but it does not work:
Change user to administrator or even owner
I use self hosting newest version to test n8n
Just see only this in zever/models.py
# Users with this flag set are allowed to forge messages as sent by another
# user and to send to private streams; also used for Zephyr/Jabber mirroring.
can_forge_sender: bool = models.BooleanField(default=False, db_index=True)
# Users with this flag set can create other users via API.
can_create_users: bool = models.BooleanField(default=False, db_index=True)
If your test is successful, I think you have experience for this.
I have not tested in database for this flag yet.
In my case I just use /home/zulip/deployments/current/manage.py change_user_role [email protected] can_create_users -r='' at the server as a zulip linux user. Please, change [email protected] to your zulip admin email and setup realm in the -r=‘’. All realms you can find with /home/zulip/deployments/current/manage.py list_realms