Rate rule error messages

If you receive an error message after uploading a rate rules XML file, use the table below to find the error code and its description.

For help with coding a rate rules XML file, see these resources:

Code Description
1001 <RateRule> ID is too long. Limit length to 40 characters.
1002 <RateRule> ID is duplicated in the configuration. Each <RateRule> ID can be used only once.
1003 The same ID has been given to more than one <UserRateCondition>. Each ID can be used for only one <UserRateCondition>.
1004 <RateRule> ID has an invalid <UserRateCondition> reference_id.
1005 No <UserRateCondition> is defined for child_id.
1006 <UserRateCondition> checks to see if the user is not a Google One member. Only positive checks for Google One membership are allowed.
1007 One or more audience list IDs are invalid. They don't match any of the partner's known audience list IDs.
1008 In-line <UserRateCondition> checks to see if the user is not a Google One member. Only positive checks for Google One membership are allowed.
1009 A <RateModification> contains a <HotelAmenity> that is not free wifi. Only free wifi is allowed.
1010 Element contains an invalid country code.
1011 Element contains an invalid language code.
1012 <UserRateCondition> shouldn't combine an audience list condition with another condition that subdivides users.
1013 In-line <UserRateCondition> shouldn't combine an audience list condition with another condition that subdivides users.
1014 default_rate_rule_id is set in partner configuration. A <RateRule> for that id must be defined.
2001 An unexpected element was found in the <PrivateRates> value.
2002 An unexpected element was found in the <UserRateCondition> value.
2003 A value for <ConditionOperator> is required when there are multiple elements within a <UserRateCondition>.
2004 A non-empty ID must be provided for top-level <UserRateCondition>.
2005 <UserRateCondition> ID is used more than once. Each <UserRateCondition> ID can be used only once.
2006 reference_id error: the attribute doesn't refer to a valid <UserRateCondition>.
2007 Inner <UserRateCondition> must not be empty.
2008 A value for <ConditionOperator> is required when there are multiple elements within a <UserRateCondition>.
2009 An unexpected element was found in <RateModification>.
2016 A non-empty ID must be provided for <RateRule>.
2017 An unexpected element was found in the <RateRule> value.
2018 <RateRule> ID is used more than once. Each <RateRule> ID can be used only once.
2019 The given percentage value isn't allowed. Percentage values must be between 0 and 100.
2020 String can't be understood as an integer. Only integer values like 43 or -67 are allowed.
2021 A negative number isn't allowed for this value. It must be zero or a positive integer.
2022 <UserDeviceType> isn't valid.
2023 <PackageType> isn't valid.
2024 <UserRateCondition> operator isn't valid.
2025 <UserCountry> code isn't valid. Enter a valid country code such as GB or US.
2026 Time value can't be understood.
2027 Day of week value can't be understood.
2028 Action attribute for <RateModification> isn't valid.
2029 Currency attribute for <RateModification> isn't valid. Use a valid three-letter currency code, such as EUR or USD.
2030 <RateModification> must contain at least one nested element.
2031 XML is malformed. Use "xmllint" to validate your XML file against the rate rules XML file schema." For more information, see Schemas.
2032 <RateRule> should have only have one description.
2033 <RateRule> should have only have one PromoCode.
2034 This <IneligibilityReason> isn't valid.
2035 This <IneligibilityHintType> isn't valid.
2036 An unexpected element was found in <RateIneligibility>.
2037 <RateIneligibility> must contain an IneligibilityType and at least one <IneligibilityReason>
2038 This <HotelAmenity> isn't valid.
3001 Encountered internal error.