All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-14 UTC."],[[["\u003cp\u003eThis page provides a table of error codes and their descriptions to help troubleshoot issues encountered when uploading rate rules XML files.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided resources for guidance on coding rate rules XML files according to the required structure and schema.\u003c/p\u003e\n"],["\u003cp\u003eError codes cover a range of issues including invalid IDs, incorrect values, structural errors, and internal problems.\u003c/p\u003e\n"],["\u003cp\u003eUse the error code to identify the specific issue and consult the description for guidance on resolving it.\u003c/p\u003e\n"]]],[],null,["# Rate rule error messages\n\nIf you receive an error message after uploading a rate rules XML file, use the\ntable below to find the error code and its description.\n\nFor help with coding a rate rules XML file, see these resources:\n\n- [Rate Rules XML Reference](/hotels/hotel-prices/xml-reference/rate-rules)\n- [Hotel Ads Schemas](/hotels/hotel-prices/dev-guide/schemas)\n\n| Code | Description |\n|------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 1001 | `\u003cRateRule\u003e` ID is too long. Limit length to 40 characters. |\n| 1002 | `\u003cRateRule\u003e` ID is duplicated in the configuration. Each `\u003cRateRule\u003e` ID can be used only once. |\n| 1003 | The same ID has been given to more than one `\u003cUserRateCondition\u003e`. Each ID can be used for only one `\u003cUserRateCondition\u003e`. |\n| 1004 | `\u003cRateRule\u003e` ID has an invalid `\u003cUserRateCondition\u003e` `reference_id`. |\n| 1005 | No `\u003cUserRateCondition\u003e` is defined for `child_id`. |\n| 1006 | `\u003cUserRateCondition\u003e` checks to see if the user is not a Google One member. Only positive checks for Google One membership are allowed. |\n| 1007 | One or more audience list IDs are invalid. They don't match any of the partner's known audience list IDs. |\n| 1008 | In-line `\u003cUserRateCondition\u003e` checks to see if the user is not a Google One member. Only positive checks for Google One membership are allowed. |\n| 1009 | A `\u003cRateModification\u003e` contains a `\u003cHotelAmenity\u003e` that is not free wifi. Only free wifi is allowed. |\n| 1010 | Element contains an invalid country code. |\n| 1011 | Element contains an invalid language code. |\n| 1012 | `\u003cUserRateCondition\u003e` shouldn't combine an audience list condition with another condition that subdivides users. |\n| 1013 | In-line `\u003cUserRateCondition\u003e` shouldn't combine an audience list condition with another condition that subdivides users. |\n| 1014 | `default_rate_rule_id` is set in partner configuration. A `\u003cRateRule\u003e` for that `id` must be defined. |\n| 2001 | An unexpected element was found in the `\u003cPrivateRates\u003e` value. |\n| 2002 | An unexpected element was found in the `\u003cUserRateCondition\u003e` value. |\n| 2003 | A value for `\u003cConditionOperator\u003e` is required when there are multiple elements within a `\u003cUserRateCondition\u003e`. |\n| 2004 | A non-empty ID must be provided for top-level `\u003cUserRateCondition\u003e`. |\n| 2005 | `\u003cUserRateCondition\u003e` ID is used more than once. Each `\u003cUserRateCondition\u003e` ID can be used only once. |\n| 2006 | reference_id error: the attribute doesn't refer to a valid `\u003cUserRateCondition\u003e`. |\n| 2007 | Inner `\u003cUserRateCondition\u003e` must not be empty. |\n| 2008 | A value for `\u003cConditionOperator\u003e` is required when there are multiple elements within a `\u003cUserRateCondition\u003e`. |\n| 2009 | An unexpected element was found in `\u003cRateModification\u003e`. |\n| 2016 | A non-empty ID must be provided for `\u003cRateRule\u003e`. |\n| 2017 | An unexpected element was found in the `\u003cRateRule\u003e` value. |\n| 2018 | `\u003cRateRule\u003e` ID is used more than once. Each `\u003cRateRule\u003e` ID can be used only once. |\n| 2019 | The given percentage value isn't allowed. Percentage values must be between 0 and 100. |\n| 2020 | String can't be understood as an integer. Only integer values like 43 or -67 are allowed. |\n| 2021 | A negative number isn't allowed for this value. It must be zero or a positive integer. |\n| 2022 | `\u003cUserDeviceType\u003e` isn't valid. |\n| 2023 | `\u003cPackageType\u003e` isn't valid. |\n| 2024 | `\u003cUserRateCondition\u003e` operator isn't valid. |\n| 2025 | `\u003cUserCountry\u003e` code isn't valid. Enter a valid country code such as GB or US. |\n| 2026 | Time value can't be understood. |\n| 2027 | Day of week value can't be understood. |\n| 2028 | Action attribute for `\u003cRateModification\u003e` isn't valid. |\n| 2029 | Currency attribute for `\u003cRateModification\u003e` isn't valid. Use a valid three-letter [currency code](https://support.google.com/merchants/answer/160637), such as EUR or USD. |\n| 2030 | `\u003cRateModification\u003e` must contain at least one nested element. |\n| 2031 | XML is malformed. Use \"xmllint\" to validate your XML file against the rate rules XML file schema.\" For more information, see [Schemas](/hotels/hotel-prices/dev-guide/schemas). |\n| 2032 | `\u003cRateRule\u003e` should have only have one description. |\n| 2033 | `\u003cRateRule\u003e` should have only have one PromoCode. |\n| 2034 | This `\u003cIneligibilityReason\u003e` isn't valid. |\n| 2035 | This `\u003cIneligibilityHintType\u003e` isn't valid. |\n| 2036 | An unexpected element was found in `\u003cRateIneligibility\u003e`. |\n| 2037 | `\u003cRateIneligibility\u003e` must contain an IneligibilityType and at least one `\u003cIneligibilityReason\u003e` |\n| 2038 | This `\u003cHotelAmenity\u003e` isn't valid. |\n| 3001 | Encountered internal error. |"]]