You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

seet.org在Google Search Console报Missing '}'解析错误怎么解决

错误原因定位
  • 核心触发源为页面<head>内的JSON-LD结构化数据语法错误:application/ld+json类型的脚本内容需要严格符合JSON语法规范,JSON不允许对象的最后一个键值对末尾添加尾随逗号。你代码中的对应部分如下:
{
  "@context":"https://ziyuan.baidu.com/contexts/cambrian.jsonld",
  "@id": "https://seet.org/autoclave/glass-autoclave.html",
  "appid":"no",
  "title":"Autoclave, West Arrangement Fabric Machine_Xi'anAutoclave_Xi'anPrepreg equipment_Xi'anHydraulic pressure forming process Xi'an Impregnation Tank-Shaanxi Shenying Equipment Technology Co., Ltd.-Shaanxi Shenying Equipment Technology Co., Ltd.",
  "description":"Xi'an autoclave looks for Shaanxi Shenying Equipment Technology Co., Ltd., Shenying focuses on the research and development of composite equipment and product production, and has a large-scale production base with strong strength and rich experience. At the same time, it provides autoclave leasing or composite product processing , Customers with needs in this regard are welcome to inquire!",
  "pubDate":"",
}

这里最后一行"pubDate":"",末尾的逗号属于多余内容,直接导致JSON解析器判定语法不完整,抛出对应报错。

  • 补充:你标注问题位置的<--here is problem-->属于非标准HTML注释写法,标准HTML注释格式为<!-- 注释内容 -->,但该内容不属于本次报错的核心诱因。

Parsing error: Missing '}' or object member name

错误提示截图

修复方案

修改后的正确JSON-LD代码如下:

<script type="application/ld+json">
{
  "@context":"https://ziyuan.baidu.com/contexts/cambrian.jsonld",
  "@id": "https://seet.org/autoclave/glass-autoclave.html",
  "appid":"no",
  "title":"Autoclave, West Arrangement Fabric Machine_Xi'anAutoclave_Xi'anPrepreg equipment_Xi'anHydraulic pressure forming process Xi'an Impregnation Tank-Shaanxi Shenying Equipment Technology Co., Ltd.-Shaanxi Shenying Equipment Technology Co., Ltd.",
  "description":"Xi'an autoclave looks for Shaanxi Shenying Equipment Technology Co., Ltd., Shenying focuses on the research and development of composite equipment and product production, and has a large-scale production base with strong strength and rich experience. At the same time, it provides autoclave leasing or composite product processing , Customers with needs in this regard are welcome to inquire!",
  "pubDate":""
}
</script>

优化建议:

  • 若pubDate字段无实际发布时间可填,可直接删除整个"pubDate":""键值对,避免空值字段影响结构化数据的有效性。
  • 因该问题全站统一存在,直接修改公共头部模板的对应代码即可,无需逐页调整。

内容的提问来源于stack exchange,提问作者jay bhinsara

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.04 08:57:04