ENUM

CreateSquadStreamInvitationErrorCode

CreateSquadStreamInvitationErrorCode are the possible errors that this mutation returns.

link GraphQL Schema definition

1enum CreateSquadStreamInvitationErrorCode {
2
3# The squad is already full.
4SQUAD_FULL
5
6# The recipient does not have access to squad streams.
7USER_CANNOT_ACCESS_SQUADS
8
9# The recipient is already in the squad.
10USER_ALREADY_IN_SQUAD
11
12# The recipient is already invited to the squad.
13INVITATION_ALREADY_EXISTS
14
15# The sender does not have permission to invite the recipient.
16INVITATION_BLOCKED
17
18# The invitation is not valid (e.g. the user is inviting themselves).
19INVITATION_INVALID
20
21# The user is not authorized to invite members to the squad.
22UNAUTHORIZED
23}