Invite with negative max uses works but is hidden from the Invites list

As a member with invite permission, send
POST /api/servers/<server>/inviteswith body{"max_uses": -5}(the API accepts it with 201).Open
/api/server-invites/<code>: the invite is valid (200, shows server and inviter).Open Server Settings → Invites (or
GET /api/servers/<server>/invites): the invite isn't listed.bug is produced.
found by claude, not me. i was able to replicate though
also included by claude:
live invite, invisible in the list; it can only be revoked by DELETE with the exact code. Also seen: max_uses: 1000000000000 returns a 500 instead of a 400, and an expires_at in the past is accepted (the invite is created already expired). Not checked: joining through the invite with a second account.
Status: Escalated
Log in to comment and vote
No comments yet
Be the first to share your thoughts.