常见问题
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如需详细了解 Feed 中的常见问题和错误代码,请参阅 Feed 错误代码。
问题 |
类型 |
分辨率 |
JSON 解析错误 |
语法 |
检查 JSON 载荷中使用的语法。 |
缺少分片 |
配置 |
缺少总分片数。 |
生成时间戳不正确 |
语法 |
- 针对不同的 Feed 上传使用不同的生成时间戳。
- 在同一 Feed 上传中,为每个分片使用相同的生成时间戳。
|
商家地址、
电话号码警告 |
配置 |
地址或电话号码不正确或缺失。 |
TIMESTAMP_OUT_OF_RANGE |
配置 |
提供的时间戳是过去的时间或发送的是旧 Feed。 |
DURATION_OUT_OF_RANGE |
配置 |
时长为负值、过大或过小,无法表示有效的时长。时长必须大于 0 秒且小于 168 小时。 |
INVALID_TIME_RANGE |
配置 |
- 安排例外情况不得为空。
- 开始时间不应早于当前日期。
|
RECORD_OUT_OF_RESTRICTION |
配置 |
当提供的记录在限制范围内但超出限制时。
例如,如果服务可用性限制为 7 月 10 日至 7 月 11 日,而 7 月 17 日在限制范围内。 |
AVAILABILITY_SPOT_COUNT_OUT_OF_RANGE |
配置 |
当开放地点数大于总地点数时,就会出现此错误。 |
MISSING_ID |
配置 |
相应 Feed 中缺少商家 ID 或服务 ID。 |
MISSING_NAME |
配置 |
相应 Feed 中缺少商家名称或服务名称。 |
MISSING_ADDRESS |
配置 |
Merchant Feed 中缺少商家的地址。 |
MISSING_RESOURCES |
配置 |
更新了不完整的资源。
示例场景包括提供会议室 ID 但缺少会议室名称的情况。 |
MISSING_REQUIRED_FIELD |
配置 |
Feed 缺少必填字段,例如“商家 ID”“商家名称”“服务 ID”和“服务名称”。 |
BAD_OR_INELIGIBLE_URL |
配置 |
Google 不支持的网址以及有害网址。 |
INVALID_SCHEDULING_RULES |
配置 |
提供的服务安排规则无效。 |
DUPLICATE_SERVICES |
配置 |
名称和时长相同的不同服务。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],[],null,["# Common Issues\n\nFor more information on common issues and error codes in feeds, see\n[Feed Error Codes](/actions-center/verticals/reservations/e2e/reference/feeds/feed-errors).\n\n| Issue | Type | Resolution |\n|-----------------------------------------|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| JSON parsing errors | Syntax | Review the syntax used in the JSON payload. |\n| Missing shards | Config | Missing total shards. |\n| Incorrect generation timestamp | Syntax | 1. Use different generation timestamp for different Feed uploads. 2. Use the same generation timestamp for every shard within the same Feed upload. |\n| Merchant address, phone number warnings | Config | Incorrect or missing address or phone number. |\n| `TIMESTAMP_OUT_OF_RANGE` | Config | Timestamp provided in the past or sending old feed. |\n| `DURATION_OUT_OF_RANGE` | Config | Duration is either negative, too large, or too small to represent a valid duration. The duration must be greater than zero seconds and less than 168 hours. |\n| `INVALID_TIME_RANGE` | Config | 1. Schedule exceptions shouldn't be empty. 2. Start time shouldn't be less than the current date. |\n| `RECORD_OUT_OF_RESTRICTION` | Config | When a record is provided out of restriction within the restriction. For example, if there is a restriction on service availability from July 10 to July 11, and July 17 is provided within this restriction. |\n| `AVAILABILITY_SPOT_COUNT_OUT_OF_RANGE` | Config | Caused when the number of spots open are greater than the number of total spots. |\n| `MISSING_ID` | Config | Missing merchant ID or Service ID in respective feeds. |\n| `MISSING_NAME` | Config | Missing merchant name or Service name in respective feeds. |\n| `MISSING_ADDRESS` | Config | Missing address of the merchant in Merchant Feed. |\n| `MISSING_RESOURCES` | Config | Incomplete resources are updated. Example scenario includes when room ID is provided but the name of the room is missing. |\n| `MISSING_REQUIRED_FIELD` | Config | Feeds missing required fields, such as Merchant ID, Merchant name, Service ID, and Service name. |\n| `BAD_OR_INELIGIBLE_URL` | Config | URLs that aren't supported on Google, and URLs that are harmful. |\n| `INVALID_SCHEDULING_RULES` | Config | Invalid service scheduling rules provided. |\n| `DUPLICATE_SERVICES` | Config | Different services with the same name and duration. |"]]