ManagerLinkError

Enum describing possible ManagerLink errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING

The manager and client have incompatible account types.

TOO_MANY_MANAGERS

Client is already linked to too many managers.

TOO_MANY_INVITES

Manager has too many pending invitations.

ALREADY_INVITED_BY_THIS_MANAGER

Client is already invited by this manager.

ALREADY_MANAGED_BY_THIS_MANAGER

The client is already managed by this manager.

ALREADY_MANAGED_IN_HIERARCHY

Client is already managed in hierarchy.

DUPLICATE_CHILD_FOUND

Manager and sub-manager to be linked have duplicate client.

CLIENT_HAS_NO_ADMIN_USER

Client has no active user that can access the client account.

MAX_DEPTH_EXCEEDED

Adding this link would exceed the maximum hierarchy depth.

CYCLE_NOT_ALLOWED

Adding this link will create a cycle.

TOO_MANY_ACCOUNTS

Manager account has the maximum number of linked clients.

TOO_MANY_ACCOUNTS_AT_MANAGER

Parent manager account has the maximum number of linked clients.

SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS

Your manager account is suspended, and you are no longer allowed to link to clients.

CLIENT_OUTSIDE_TREE

You are not allowed to move a client to a manager that is not under your current hierarchy.

INVALID_STATUS_CHANGE

The changed status for mutate link is invalid.

INVALID_CHANGE

The change for mutate link is invalid.

CUSTOMER_CANNOT_MANAGE_SELF

You are not allowed to link a manager account to itself.