Google Page Speed Insights API: Internet Error

时间:2017-04-06 16:54:39

标签: optimization google-api google-cloud-platform google-pagespeed

I am getting an error from Google PageSpeed Insights API. Its just returns Internal Error with Code 500. Here is the detailed response:

 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "internalError",
    "message": "An error occurred while fetching or analyzing the page."
   }
  ],
  "code": 500,
  "message": "An error occurred while fetching or analyzing the page."
 }
}

I also Tried with Google API key from within Google Cloud Console (Enabled PageInsights APi for my account). No Luck still the same message.

Here is a result screenshot of the same page tested on tools.pingdom.com enter image description here

enter image description here

It would be helpful if Google Provided detailed error messages which can help us identify where the issue is. Any help or pointers on this would be great.

2 个答案:

答案 0 :(得分:1)

问题在于SVG图像。一旦它被删除页面速度开始工作。仍然不确定图像有什么问题。

答案 1 :(得分:0)

您在页面加载时加载了太多资源。渲染限制为200。 您还可以尝试使用think with Google

测试您的网站