Duplicate invite can raise cryptic messages


(Sam Saffron) #1

To repo:

  • Go to user profile -> invites
  • Invite user
  • User accepts invite
  • Try to invite user again

You are presented with the cryptic error: “You are not permitted to view the requested resource.”

Instead we should say:

@xyz is already a member of the forum.

Or something along those lines.


(Jeff Atwood) #2

Can you add this to your list @techAPJ?


(Arpit Jalan) #3

Fixed via:

This error was specific to non-staff users. Now the error message will be generic:

Sorry, we couldn’t invite that person. Perhaps they have already been invited? (Invites are rate limited)


(Arpit Jalan) #4