InvalidInputType
Various possible errors that can happen related to the input data that has been provided.
enum InvalidInputType {
PRODUCT_CONFIGURATION_BEST_VALUE_RENT
PRODUCT_CONFIGURATION_SWISS_SAVINGS
HEALTH_STATE_SWISS_SAVINGS
CUSTOMER_DATE_OF_BIRTH_MISSING
CUSTOMER_EMAIL_MISSING
CUSTOMER_CORPORATE_CUSTOMERS_NOT_SUPPORTED
CUSTOMER_TAX_IDENTIFICATION
POLICY_HOLDER_TAX_IDENTIFICATION_MISSING
ASSOCIATED_PERSONS_MISSING_ROLE
ASSOCIATED_PERSONS_DUPLICATE_EMAIL
PRODUCT_CONFIGURATION_FUND_SELECTION
PRODUCT_CONFIGURATION_POLICY_START_DATE
PRODUCT_CONFIGURATION_REDUCED_PREMIUM_OUT_OF_RANGE
QUICK_OFFER_PREMIUM_TERM_EXCEEDS_POLICY_TERM
QUICK_OFFER_CONFIGURATION
PRODUCT_CONFIGURATION_REDUCED_PREMIUM_NET_TARIFF_ONLY
PRODUCT_CONFIGURATION_VWL_REGULAR_PREMIUM_OUT_OF_RANGE
PRODUCT_CONFIGURATION_VWL_ADDITIONAL_PAYMENT_BELOW_MINIMUM
PRODUCT_CONFIGURATION_VWL_TOTAL_PREMIUM_EXCEEDS_LIMIT
FINANCIAL_STATE_POLICY_REASON_OTHER_MISSING
FINANCIAL_STATE_MONEY_ORIGIN_OTHER_MISSING
FINANCIAL_STATE_WIRE_TRANSFER_FALSE_NOT_SUPPORTED
HEALTH_STATE_CRITICAL_ILLNESS_DETAILS_MISSING
HEALTH_STATE_WEIGHT_HEIGHT_NECESSARY
BENEFICIARIES_DEATH_BENEFICIARY_CUSTOM_BENEFICIARY_MISSING
BENEFICIARIES_LIFE_BENEFICIARY_CUSTOM_BENEFICIARY_MISSING
BENEFICIARIES_DEATH_BENEFICIARY_TYPE_NOT_ALLOWED
BENEFICIARIES_CUSTOM_BENEFICIARIES_ALLOTMENT_TOTAL
BENEFICIARIES_DEATH_BENEFICIARY_SUBSCRIPTION_AND_TERMFIX_RIGHTS_MISMATCH
PRODUCT_CONFIGURATION_AGE_WHEN_POLICY_ENDS
PRODUCT_CONFIGURATION_DISABILITY_ANNUITY_REQUIRES_PREMIUM_WAIVER
PRODUCT_CONFIGURATION_INVALID_JOB_CLASS
HEALTH_STATE_MISSING
HEALTH_STATE_MULTIPLE_VARIANTS_SET
HEALTH_STATE_BOTH_VERSIONS_SET
HEALTH_STATE_PROBLEMS_DETAILS_MISSING
HEALTH_STATE_VISITS_DETAILS_MISSING
HEALTH_STATE_SERIOUS_HANDICAP_DETAILS_MISSING
HEALTH_STATE_MENTAL_ILLNESS_DETAILS_MISSING
HEALTH_STATE_SMOKED_DETAILS_MISSING
HEALTH_STATE_MEDICAL_PRACTITIONER_MISSING
HEALTH_STATE_SMOKING_MISSING
HEALTH_STATE_DETAILS_MUST_BE_OMITTED
HEALTH_STATE_VARIANT_INCOMPATIBLE_WITH_PRODUCT
PRODUCT_CONFIGURATION_TRANSFER_POLICY_NUMBER_MISSING
PAGINATION_CONFLICTING_ARGUMENTS
PAGINATION_CURSOR_NOT_FOUND
CONSULTATION_PROTOCOL_WRITTEN_ADVICE_MISSING
CONSULTATION_PROTOCOL_WRITTEN_ADVICE_MUST_BE_OMITTED
}
Values
InvalidInputType.PRODUCT_CONFIGURATION_BEST_VALUE_RENT
best value rent configuration does not meet the product's age, term, premium, or guarantee requirements.
InvalidInputType.PRODUCT_CONFIGURATION_SWISS_SAVINGS
Duo, Junior or Wealth CH configuration violates its age, premium, term, cover or guarantee rules.
InvalidInputType.HEALTH_STATE_SWISS_SAVINGS
A detailed Swiss health declaration is incomplete or its answer and details are inconsistent.
InvalidInputType.CUSTOMER_DATE_OF_BIRTH_MISSING
Existing customer is missing date of birth
InvalidInputType.CUSTOMER_EMAIL_MISSING
Customer is missing email
InvalidInputType.CUSTOMER_CORPORATE_CUSTOMERS_NOT_SUPPORTED
Existing customer is corporate customer - Corporate customers are not supported right now
InvalidInputType.CUSTOMER_TAX_IDENTIFICATION
Tax identification is not valid
InvalidInputType.POLICY_HOLDER_TAX_IDENTIFICATION_MISSING
Tax identification is mandatory for policyholder
InvalidInputType.ASSOCIATED_PERSONS_MISSING_ROLE
Tax identification is not valid
InvalidInputType.ASSOCIATED_PERSONS_DUPLICATE_EMAIL
Two different associated persons were given the same email address.
The core insurance system identifies a person by their email address, so it would merge
the two into a single person and apply the wrong personal data (date of birth, gender,
name) to one of the policy roles. Give each person their own address. For a person
submitted through newCustomer the field can also be left out, unless they are the
policyholder; for a person submitted through existingCustomer the address is part of
their stored record and has to be corrected there first.
Submitting one person under several associatedPersons entries to split their roles is
not affected — their roles are merged as intended.
InvalidInputType.PRODUCT_CONFIGURATION_FUND_SELECTION
Fund selection is not valid
InvalidInputType.PRODUCT_CONFIGURATION_POLICY_START_DATE
Policy start date can not be before the start date of the current month
InvalidInputType.PRODUCT_CONFIGURATION_REDUCED_PREMIUM_OUT_OF_RANGE
reducedPremium must be between 24% and 100% of monthlyPremium
InvalidInputType.QUICK_OFFER_PREMIUM_TERM_EXCEEDS_POLICY_TERM
premiumDurationInYears is longer than durationInYears of a quick offer
InvalidInputType.QUICK_OFFER_CONFIGURATION
Quick-offer settings are outside the supported calculation subset.
InvalidInputType.PRODUCT_CONFIGURATION_REDUCED_PREMIUM_NET_TARIFF_ONLY
reducedPremium is only supported with brokerageFeePayoutMethod: NET (net tariff, 049-0-PPD 2025)
InvalidInputType.PRODUCT_CONFIGURATION_VWL_REGULAR_PREMIUM_OUT_OF_RANGE
Value Invest VWL only: the regular premium per year (monthlyPremium times the number of payments per year) is outside EUR 168 to EUR 3,000
InvalidInputType.PRODUCT_CONFIGURATION_VWL_ADDITIONAL_PAYMENT_BELOW_MINIMUM
Value Invest VWL only: additionalPayment is below EUR 50 and not 0
InvalidInputType.PRODUCT_CONFIGURATION_VWL_TOTAL_PREMIUM_EXCEEDS_LIMIT
Value Invest VWL only: the regular premium per year plus additionalPayment exceeds EUR 3,000
InvalidInputType.FINANCIAL_STATE_POLICY_REASON_OTHER_MISSING
When PolicyReason is sent as OTHER - OtherReason can not be null
InvalidInputType.FINANCIAL_STATE_MONEY_ORIGIN_OTHER_MISSING
When MoneyOrigin is sent as OTHER - OtherReason can not be null
InvalidInputType.FINANCIAL_STATE_WIRE_TRANSFER_FALSE_NOT_SUPPORTED
paymentMethod.wireTransfer was sent as false on a product that does not support it. Only Value Invest VWL can have the payer notified to set the standing order up; every other product requires the payer to arrange it themselves (true).
InvalidInputType.HEALTH_STATE_CRITICAL_ILLNESS_DETAILS_MISSING
When HealthState is sent as CRITICAL_ILLNESS - CriticalIllnessDetails can not be null
InvalidInputType.HEALTH_STATE_WEIGHT_HEIGHT_NECESSARY
When weight and height becomes mandatory based on the input of the other health questions
InvalidInputType.BENEFICIARIES_DEATH_BENEFICIARY_CUSTOM_BENEFICIARY_MISSING
When death beneficiary is custom - Custom Beneficiaries need to be provided
InvalidInputType.BENEFICIARIES_LIFE_BENEFICIARY_CUSTOM_BENEFICIARY_MISSING
When life beneficiary is custom - Custom Beneficiaries need to be provided
InvalidInputType.BENEFICIARIES_DEATH_BENEFICIARY_TYPE_NOT_ALLOWED
When death beneficiary type is not allowed for product specific reasons
InvalidInputType.BENEFICIARIES_CUSTOM_BENEFICIARIES_ALLOTMENT_TOTAL
Custom beneficiaries allotment total should be 100%
InvalidInputType.BENEFICIARIES_DEATH_BENEFICIARY_SUBSCRIPTION_AND_TERMFIX_RIGHTS_MISMATCH
When death beneficiary has subscription rights and term fix rights, both must be the same
InvalidInputType.PRODUCT_CONFIGURATION_AGE_WHEN_POLICY_ENDS
ageWhenPolicyEnds must be greater than the customer's age at the policy start date
InvalidInputType.PRODUCT_CONFIGURATION_DISABILITY_ANNUITY_REQUIRES_PREMIUM_WAIVER
disabilityAnnuity requires premiumWaiver to also be set
InvalidInputType.PRODUCT_CONFIGURATION_INVALID_JOB_CLASS
Invalid jobClass and jobRisk combination for disability annuity. See https://partner-docs.life.li/platform-integrations/job-classes for valid values.
InvalidInputType.HEALTH_STATE_MISSING
Health questionnaire is required when premiumWaiver or disabilityAnnuity is set, insuredPersonsHealthStatusV2 was provided without any of its three variants populated, or a Liechtenstein Life Wealth offer has an additional insured person but no additionalInsuredPersonsHealthStatus.
InvalidInputType.HEALTH_STATE_MULTIPLE_VARIANTS_SET
insuredPersonsHealthStatusV2 was provided with more than one variant populated (detailed, simplifiedDeathBenefit, simplifiedPremiumWaiver). Exactly one must be set.
InvalidInputType.HEALTH_STATE_BOTH_VERSIONS_SET
Both the legacy insuredPersonsHealthStatus and the new insuredPersonsHealthStatusV2 were provided on the same offer input — they are mutually exclusive. Submit exactly one.
InvalidInputType.HEALTH_STATE_PROBLEMS_DETAILS_MISSING
On a simplified health questionnaire (death-benefit or premium-waiver variant), healthProblemsDetails must be provided when isHealthy is false.
InvalidInputType.HEALTH_STATE_VISITS_DETAILS_MISSING
On a simplified health questionnaire (death-benefit or premium-waiver variant), visitsDetails must be provided when hasNoMultipleMedicalVisits is false.
InvalidInputType.HEALTH_STATE_SERIOUS_HANDICAP_DETAILS_MISSING
On the simplified premium-waiver health questionnaire, seriousHandicapDetails must be provided when hasSeriousHandicap is true.
InvalidInputType.HEALTH_STATE_MENTAL_ILLNESS_DETAILS_MISSING
On the simplified premium-waiver health questionnaire, mentalIllnessDetails must be provided when hasMentalIllness is true.
InvalidInputType.HEALTH_STATE_SMOKED_DETAILS_MISSING
On the Liechtenstein Life Wealth, Best Value Rent and Value Invest VWL health questionnaires, smoking.smokingDetails must be provided when smoking.hasSmoked is true.
InvalidInputType.HEALTH_STATE_MEDICAL_PRACTITIONER_MISSING
Best Value Rent requires medicalPractitionerInformation when a smoking declaration is supplied. Value Invest VWL requires it outside production.
InvalidInputType.HEALTH_STATE_SMOKING_MISSING
Value Invest VWL requires the smoking declaration outside production.
InvalidInputType.HEALTH_STATE_DETAILS_MUST_BE_OMITTED
A follow-up *Details field was supplied together with a boolean answer that makes that detail irrelevant (for example healthProblemsDetails with isHealthy = true, seriousHandicapDetails with hasSeriousHandicap = false, or smoking.smokingDetails with smoking.hasSmoked = false). Omit the detail or flip the boolean so the two agree.
InvalidInputType.HEALTH_STATE_VARIANT_INCOMPATIBLE_WITH_PRODUCT
The selected insuredPersonsHealthStatusV2 variant is incompatible with the offer's product configuration. Use simplifiedPremiumWaiver (or detailed) when premiumWaiver or disabilityAnnuity is set; use simplifiedDeathBenefit (or detailed) otherwise.
InvalidInputType.PRODUCT_CONFIGURATION_TRANSFER_POLICY_NUMBER_MISSING
policyNumber is required when transferExisting3APolicy sourceType is INSURANCE
InvalidInputType.PAGINATION_CONFLICTING_ARGUMENTS
Pagination arguments contradict each other. Page forwards with after and first, or
backwards with before and last — never mix the two directions.
InvalidInputType.PAGINATION_CURSOR_NOT_FOUND
The pagination cursor does not match any record you can read. Cursors can expire when the record behind them is removed; restart the walk without a cursor.
InvalidInputType.CONSULTATION_PROTOCOL_WRITTEN_ADVICE_MISSING
consultation.protocol.agentAdvice is false, so the customer waived advice and
writtenAdvice documents that waiver — send it as true.
InvalidInputType.CONSULTATION_PROTOCOL_WRITTEN_ADVICE_MUST_BE_OMITTED
consultation.protocol.writtenAdvice was sent while agentAdvice is true. A waiver
of advice cannot accompany advice that was given; omit it.
Member Of
InputValidationError object