SOC-3946 | Exception when inviting users to join spaces