postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.82k stars 839 forks source link

Invite workspace invalid email error count displays the incorrect count of errors #11173

Closed sseenivasan89 closed 1 year ago

sseenivasan89 commented 2 years ago

Is there an existing issue for this?

Describe the Issue

when i tried to invite the people to my workspace from Invite button on header, and selected the Add from file option and uploaded the txt file (attached for reference) actually it has 4 invalid emails but the postman error shows only 2 email is invalid

Steps To Reproduce

  1. Open the postman web
  2. Click on invite button on header
  3. Select the add from file option
  4. Upload the file (txt) with some invalid emails
  5. Check the invalid email count in the error

Screenshots or Videos

image

Operating System

Windows

Postman Version

9.28.1-220808-1444

Postman Platform

Postman Web

Additional Context?

Attached the txt file for reference TestPostman.txt

DannyDainton commented 2 years ago

Hey @sseenivasan89

Thanks for raising this. The puralisation in that error message is wrong so we'll need to fix that but the count is based on unique emails, rather the overal number. As you have 3 blank emails, it's counting that as one invalid.

I'm going to raise this with the team to understand what the expectation/behaviour should be here.

sseenivasan89 commented 2 years ago

Hey @DannyDainton

Yes the pluralization also wrong it should be 2 emails are invalid

Thanks !!

akshay-kulkarni-03 commented 2 years ago

Hi @sseenivasan89 , thanks for reporting this! We will triage this from our side and post updates once we have identified the issue at our end.

akshay-kulkarni-03 commented 1 year ago

Hi @sseenivasan89 , we have fixed this issue. Let us know if you face it again.