This document outlines constraints on user details, account membership, and related events to ensure consistent identity management and prevent common configuration mistakes.
Account validation
Validation
Messaging
ACCOUNT_CREATE_EVENT_MISSING_APPLICATION
The account creation event, '%s', must be associated with an application.
ACCOUNT_CREATE_EVENT_NO_USERS
The account creation event, '%s', must include at least one user.
ACCOUNT_NOT_FOUND_ONE_LOGIN
The account, '%s', was not found.
ACCOUNT_STATUS_EVENT_ACCOUNT_NOT_FOUND
'%s', referenced in the account status event, was not found.
DUPLICATE_ACCOUNT_WITH_NAME
An account with the name '%s' already exists.
DUPLICATE_ACCOUNT_WITH_ONE_LOGIN
An account with the ID '%s' already exists.
User validation
Validation
Messaging
USER_EVENT_MISSING_APPLICATION
The user event, '%s', must be associated with an application.
USER_EXISTS_WITH_USERNAME_FOR_ACCOUNT
A user with the username '%s' already exists for this account.
USER_FOUND_FOR_ACCOUNT_ID
The user, '%s', of the account, '%s', was found.
USER_MISSING_APPLICATION
The user, '%s', must be associated with an application.
USER_STATUS_EVENT_ACCOUNT_NOT_FOUND
'%s', referenced in the user status event, was not found.