ErrorCode: {
    addUserToOrganizationFailed: "add_user_to_organization_failed";
    emailNotVerified: "email_not_verified";
    featureDisabled: "feature_disabled";
    invitationInvalid: "invitation_invalid";
    noSingleEmailAddress: "no_single_email_address";
    organizationApiMissing: "organization_api_missing";
    passwordDoesNotMeetRequirements: "password_does_not_meet_requirements";
    passwordResetInvalid: "password_reset_invalid";
    userHasNoEmail: "user_has_no_email";
    userIsLocked: "user_is_locked";
    verificationCodeInvalid: "verification_code_invalid";
} = ...

List of all error codes that can be returned by this service

Type declaration

  • Readonly addUserToOrganizationFailed: "add_user_to_organization_failed"

    Error occurred while adding user to organization

  • Readonly emailNotVerified: "email_not_verified"

    Logged in user's email is not verified

  • Readonly featureDisabled: "feature_disabled"

    Feature this endpoint is connected to is currently disabled

  • Readonly invitationInvalid: "invitation_invalid"

    Invitation code is expired or otherwise invalid

  • Readonly noSingleEmailAddress: "no_single_email_address"

    Either zero or more than one user exists with the given email address, when we need to narrow to a single email

  • Readonly organizationApiMissing: "organization_api_missing"

    Organization API is missing

  • Readonly passwordDoesNotMeetRequirements: "password_does_not_meet_requirements"

    Password does not meet the minimum requirements as configured

  • Readonly passwordResetInvalid: "password_reset_invalid"

    Password reset code is expired or otherwise invalid

  • Readonly userHasNoEmail: "user_has_no_email"

    User has no email address and cannot have mail sent to them

  • Readonly userIsLocked: "user_is_locked"

    User is locked and can't be interacted with

  • Readonly verificationCodeInvalid: "verification_code_invalid"

    Verification email code is expired or otherwise invalid

Generated using TypeDoc