Skip to content

Unable to add multiple new user in teams page #670

Closed

Description

@ShaileshParmar11

On the team's page, I am not able to add multiple new users it gives a 500 Internal Server Error, but on other hand, I am able to add a single new user. I have explain the scenario to @darth-coder00

Activity

  1. added
    bug
    on Oct 6, 2021
  2. shahsank3t commented on Oct 7, 2021

    @shahsank3t
    Contributor

    @ShaileshParmar11 Can you please share the API call being made for single user and multiple user both to trace the error.

  3. ShaileshParmar11 commented on Oct 7, 2021

    @ShaileshParmar11
    ContributorAuthor

    single-user API call

    image

    image

    Multi-user API call

    image

    image

    image

    image

    {"responseMessage":"An exception with message ['[{\"id\":\"2808eb23-a209-4847-b2d9-035b580c0fd6\",\"type\":\"user\",\"name\":\"amanda_phillips7\",\"description\":\"Amanda Phillips\"},{\"id\":\"95a3c28f-67f2-4237-9f16-8e24349b8de6\",\"type\":\"user\",\"name\":\"aaron_mcgee8\",\"description\":\"Aaron Mcgee\"}]' contains no element for index 3 and for '3'.] was thrown while processing request."}

  4. vivekratnavel commented on Oct 16, 2021

    @vivekratnavel
    Contributor

    I think it is because of the reverse sorting done in the applyPatch. I am happy to take this up and provide a PR soon.

  5. vivekratnavel commented on Oct 16, 2021

    @vivekratnavel
    Contributor

    I am unable to assign it to myself. Can someone please assign this issue to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions