Google Page Speed Insights API: Internet Error

南笙酒味 提交于 2019-12-24 06:00:02

问题


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

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.


回答1:


The issue was with an SVG image. Once it was removed Page Speed starting working. Still not sure what was wrong with the image.




回答2:


You have too many resources loading on page load. The Render limit is 200. You can also try to test your site with think with Google



来源:https://stackoverflow.com/questions/43261400/google-page-speed-insights-api-internet-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!