You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to add multiple new user in teams page #670
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
{"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."}
Activity
shahsank3t commentedon Oct 7, 2021
@ShaileshParmar11 Can you please share the API call being made for single user and multiple user both to trace the error.
ShaileshParmar11 commentedon Oct 7, 2021
single-user API call
Multi-user API call
{"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."}vivekratnavel commentedon Oct 16, 2021
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.
vivekratnavel commentedon Oct 16, 2021
I am unable to assign it to myself. Can someone please assign this issue to me?