Skip to content

Adding an existing user to a group does not show an error #723

Closed

Description

@SanjaySiddarth

Describe the bug
When adding a user that is already in a group, there is no error/message shown

To Reproduce

  1. Create a group.
  2. Add a user to the group.
  3. Attempt to add the same user to the same group again.

Logs:

prisma:error

Invalid `prisma.groupUser.createMany()` invocation:

Unique constraint failed on the fields: (`groupId`,`userId`)

Expected behavior

Perhaps the UI should show a message that the user already exists in the group, and the error should be handled gracefully.

Screenshots

N/A

App version

v.2.1.5

Desktop (please complete the following information):

  • OS: Ubuntu Server
  • Browser: N/A
  • Version: N/A

Smartphone (please complete the following information):

N/A

Additional context

Activity

  1. added theissue type on Aug 16, 2026
  2. added this to the 2.1.x milestone on Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions