Thanks for reaching out @akborum. If you’d like to share the following we can hopefully determine more on this and ensure the error no longer occurs:
- Your Site Health information. You can use this form to share privately if preferred.
- When checking the Site Kit dashboard from a Chrome browser incognito window does the same occur? If so, please share any browser console errors that appear.
- Do you see any warnings or errors when checking your Site Health status (Tools > Site Health > Status), which differs from your Site Health information requested above? Such errors may include REST endpoint references.
Once we have the above we can advise on this further. Troubleshooting steps maybe including any caching plugin configurations as you stated above you have yet to test these.
Let me know if you have any questions with the above.
Hi Adam,
Cheers for picking this up!
- I have submitted the site health information via the form a moment ago
- I do get the same behaviour in incognito – Errors pasted below.
- None that I could see no.
Browser console errors
JQMIGRATE: Migrate is installed, version 3.4.1
index.php/wp-json/google-site-kit/v1/modules/search-console/data/searchanalytics?startDate=2024-11-27&endDate=2025-01-21&dimensions=date&_locale=user:1
Failed to load resource: the server responded with a status of 500 ()Understand this errorAI
googlesitekit-api-8af9ef8f4fbc9c572801.js:1 Google Site Kit API Error method:GET datapoint:searchanalytics type:modules identifier:search-console error:”Invalid JSON response”
(anonymous) @ googlesitekit-api-8af9ef8f4fbc9c572801.js:1Understand this errorAI
index.php/wp-json/google-site-kit/v1/modules/analytics-4/data/report?metrics%5B0%5D%5Bname%5D=averageSessionDuration&dimensions%5B0%5D%5Bname%5D=date&startDate=2024-12-25&endDate=2025-01-21&compareStartDate=2024-11-27&compareEndDate=2024-12-24&limit=10&_locale=user:1
Failed to load resource: the server responded with a status of 500 ()Understand this errorAI
index.php/wp-json/google-site-kit/v1/modules/analytics-4/data/report?metrics%5B0%5D%5Bname%5D=totalUsers&startDate=2024-12-25&endDate=2025-01-21&compareStartDate=2024-11-27&compareEndDate=2024-12-24&_locale=user:1
Failed to load resource: the server responded with a status of 500 ()Understand this errorAI
index.php/wp-json/google-site-kit/v1/modules/analytics-4/data/report?metrics%5B0%5D%5Bname%5D=totalUsers&dimensions%5B0%5D%5Bname%5D=date&startDate=2024-12-25&endDate=2025-01-21&compareStartDate=2024-11-27&compareEndDate=2024-12-24&orderby%5B0%5D%5Bdimension%5D%5BdimensionName%5D=date&_locale=user:1
Failed to load resource: the server responded with a status of 500 ()Understand this errorAI
index.php/wp-json/google-site-kit/v1/modules/analytics-4/data/report?metrics%5B0%5D%5Bname%5D=screenPageViews&dimensions%5B0%5D%5Bname%5D=pagePath&startDate=2024-12-25&endDate=2025-01-21&orderby%5B0%5D%5Bmetric%5D%5BmetricName%5D=screenPageViews&orderby%5B0%5D%5Bdesc%5D=true&limit=5&_locale=user:1
Failed to load resource: the server responded with a status of 500 ()Understand this errorAI
4googlesitekit-api-8af9ef8f4fbc9c572801.js:1 Google Site Kit API Error method:GET datapoint:report type:modules identifier:analytics-4 error:”Invalid JSON response”
(anonymous) @ googlesitekit-api-8af9ef8f4fbc9c572801.js:1Understand this errorAI
@akborum Thanks for sharing the information that’s very helpful indeed. Could I check with you if you have tried a Site Kit reset? This differs from redoing the setup. If you run into the same or another issue when trying to set the plugin back up then please let me know and share any errors and console errors you see at the time.
I’d also suggest checking in with your hosting provider to ensure they don’t see any blocks on their side. If you continue to run into issues then I may require you to switch on debug logs and share these but first let me know how you get on with the above before we explore the logs.
Let me know if you have any other questions in the meantime.
Hey Adam,
I have just tried that, and this time I did get an error while installing, stating that my site was not ready for Site Kit, but it did provide a link to a workaround plugin which I installed, and lo and behold, its all working now!
I am not sure what has happened at the backend but as long as its working, im happy!
Cheers for guiding me in the right direction!
@akborum Delighted to hear that Site Kit is now working for you! I am glad I could help resolve the issue for you!
If you have a spare moment, please feel free to leave a review on the plugin as we’d love to hear your feedback!