Title: Data loading failed &#8211; Data error in Analytics
Last modified: July 3, 2026

---

# Data loading failed – Data error in Analytics

 *  Resolved [Ricci](https://wordpress.org/support/users/rmintellek/)
 * (@rmintellek)
 * [1 day, 23 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/)
 * I am seeing error messages in the dashboard and some widgets are not loading 
   there.
   “Data loading failed” for Top traffic source and Top converting traffic
   source+“Data error in Analytics – The server provided an invalid response”I have
   tried re-enabling the SiteKit plugin, I have tried reconnecting GA4 and also 
   tried the troubleshooting mode as suggested in the help but the problem remains.
   Please help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdata-loading-failed-data-error-in-analytics%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 day, 23 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/#post-18955108)
 * Thanks for reaching out [@rmintellek](https://wordpress.org/support/users/rmintellek/).
   It sounds like there may be something blocking Site Kit from retrieving these
   Analytics metrics. While it may be temporary, please share the following and 
   we can hopefully determine more on this:
    1. Your[ Site Health information](https://i.imgur.com/Rtkmsba.png). You can[ use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
       to share privately if preferred.  
    2. When checking the Site Kit dashboard from a Chrome browser[ incognito window](https://i.imgur.com/ALzgiHp.png)
       does the same occur? If so, please share any[ browser console errors](https://imgur.com/KyLAzgH.png)
       that appear.  This can help indicate a browser or caching related block.
    3. Were you able to see these metrics previously?
 * Once we have the above we can investigate this further. The console errors as
   indicated above may prove useful, while we can also review any network related
   issues using Chromes developer tools depending on what we can determine.
 * Let me know if you have any questions with the above. Thank you.
 *  Thread Starter [Ricci](https://wordpress.org/support/users/rmintellek/)
 * (@rmintellek)
 * [1 day, 23 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/#post-18955133)
 * [@jamesosborne](https://wordpress.org/support/users/jamesosborne/) Yes I had 
   access to these metrics previously and they stopped working a couple of weeks
   ago, I was hoping a plugin update would fix it. I have shared the info in the
   form.
 *  Thread Starter [Ricci](https://wordpress.org/support/users/rmintellek/)
 * (@rmintellek)
 * [1 day, 23 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/#post-18955140)
 * Chrome console errors:
 * Failed to load resource: the server responded with a status of 403 ()
   /wp-json/
   google-site-kit/v1/modules/analytics-4/data/report?metrics%5B0%5D%5Bname%5D=totalUsers&
   dimensions%5B0%5D%5Bname%5D=date&startDate=2026-06-06&endDate=2026-07-03&orderby%
   5B0%5D%5Bdimension%5D%5BdimensionName%5D=date&reportID=analytics-4_dashboard-
   all-traffic-widget-ga4_widget_graphArgs&_locale=user:1 Failed to load resource:
   the server responded with a status of 403 ()/wp-json/google-site-kit/v1/modules/
   analytics-4/data/report?metrics%5B0%5D%5Bname%5D=totalUsers&startDate=2026-06-
   06&endDate=2026-07-03&reportID=analytics-4_dashboard-all-traffic-widget-ga4_widget_totalsArgs&
   compareStartDate=2026-05-09&compareEndDate=2026-06-05&_locale=user:1 Failed to
   load resource: the server responded with a status of 403 ()/wp-json/google-site-
   kit/v1/modules/analytics-4/data/report?metrics%5B0%5D%5Bname%5D=totalUsers&startDate
   =2026-06-06&endDate=2026-07-03&compareStartDate=2026-05-09&compareEndDate=2026-
   06-05&reportID=analytics-4_top-traffic-source-widget_widget_totalUsersReportOptions&
   _locale=user:1 Failed to load resource: the server responded with a status of
   403 ()/wp-json/google-site-kit/v1/modules/analytics-4/data/report?metrics%5B0%
   5D%5Bname%5D=totalUsers&dimensions%5B0%5D%5Bname%5D=sessionDefaultChannelGroup&
   startDate=2026-06-06&endDate=2026-07-03&compareStartDate=2026-05-09&compareEndDate
   =2026-06-05&limit=1&orderBy=totalUsers&reportID=analytics-4_top-traffic-source-
   widget_widget_trafficSourceReportOptions&_locale=user:1 Failed to load resource:
   the server responded with a status of 403 ()/wp-json/google-site-kit/v1/modules/
   analytics-4/data/report?metrics%5B0%5D%5Bname%5D=sessionKeyEventRate&dimensions%
   5B0%5D%5Bname%5D=sessionDefaultChannelGroup&startDate=2026-06-06&endDate=2026-
   07-03&compareStartDate=2026-05-09&compareEndDate=2026-06-05&limit=1&orderBy=sessionKeyEventRate&
   reportID=analytics-4_top-converting-traffic-source-widget_widget_reportOptions&
   _locale=user:1 Failed to load resource: the server responded with a status of
   403 ()googlesitekit-api-e3…01c15fe35f57df.js:1 Google Site Kit API Error method:
   GET datapoint:report type:modules identifier:analytics-4 error:”The response 
   is not a valid JSON response.”p@googlesitekit-api-e3…01c15fe35f57df.js:1
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 day, 21 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/#post-18955228)
 * Very useful insights [@rmintellek](https://wordpress.org/support/users/rmintellek/),
   many thanks for sharing. Based on the 403 error, it looks like this could be 
   caused by a host block or firewall, given the request is acknowledged but blocked.
   Something may have changed at host level, or the issue could be temporary. Before
   we perform and checks with your hosting, can you confirm that the same occurs
   if you temporarily deactivate WordFence, in the event a particular configuration
   is blocking some resources?
 * It may also be worth checking if the same occurs if you [temporarily bypass Cloudflare](https://developers.cloudflare.com/fundamentals/manage-domains/pause-cloudflare/)?
   I performed some checks on your site and I can see it’s pointing to Cloudflare
   services, with a a configuration or change there also possibly impacting your
   Site Kit dashboard.
 *  Thread Starter [Ricci](https://wordpress.org/support/users/rmintellek/)
 * (@rmintellek)
 * [1 day, 19 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/#post-18955333)
 * [@jamesosborne](https://wordpress.org/support/users/jamesosborne/) disabling 
   Wordfence made no difference and I have checked the cloudflare setup/logs and
   see no evidence of any Google user agent being blocked. I have also tried switching
   it to development mode to bypass the cloudflare cache and pausing cloudflare 
   all together as per the link you sent through but the problem remains. Is there
   anything specific in cloudflare you need me to check?
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 day, 18 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/#post-18955343)
 * Appreciate the update [@rmintellek](https://wordpress.org/support/users/rmintellek/).
   If you already performed a check with Cloudflare bypassed then that would probably
   indicate that this isn’t the cause. If there are event logs you can check from
   your Cloudflare account, feel free to do so.
 * What we can try next is to review the same 403 errors from the Site Kit dashboard
   using Chromes developer tools. To do so, follow the steps below:
    1. Open the Site Kit dashboard.
    2. Right-click anywhere on the page and select **Inspect**, or press `F12` (`Cmd
       + Option + I` on Mac).
    3. At the top of the DevTools panel, click on the **Network** tab.
    4. Refresh the page. This forces the page to reload and make those same requests
       the result in the error.
    5. Open [one of the 403 errors](https://i.ibb.co/spSbSNft/image.png) by clicking
       on the file name (For the file associated with one of the 403 errors, as indicated
       in the **Status** tab)
    6. Click on the **Headers** tab and look at the **Request URL**. The URL here is
       what’s being blocked, likely at host level. (Not that with this information 
       you can perform a cURL or other command from your host terminal to see if this
       is being blocked, or ask your hosting provider).
    7. Click on the **Responses** tab and share what you see here. You may see a message
       here indicating the cause. You may also wish to share the Request URL from directly
       above.
 * Let me know if you have any questions with the above. Thank you.
 *  Thread Starter [Ricci](https://wordpress.org/support/users/rmintellek/)
 * (@rmintellek)
 * [1 day, 18 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/#post-18955365)
 * Testing with cloudflare bypassed again (with chrome) shows that this is where
   the problem is. Can you guide me on what needs to be done in cloudflare to remove
   the block but keep cloudflare enabled in general? Is there a user agent I need
   to whitelist?
 *  Thread Starter [Ricci](https://wordpress.org/support/users/rmintellek/)
 * (@rmintellek)
 * [1 day, 18 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/#post-18955378)
 * I’ve resolved this now by creating a custom rule in cloudflare to skip all Super
   Bot Fight Mode Rules based on the following details:
   (http.request.uri.path contains“/
   wp-json/google-site-kit/”)Thanks for your help with troubleshooting this [@jamesosborne](https://wordpress.org/support/users/jamesosborne/)
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 day, 18 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/#post-18955382)
 * Good question. I performed a quick check and I don’t see any option to reset 
   Cloudflare settings to default, but maybe I’m missing something. I would suggest
   reaching out to Cloudflare and asking them about this specific block. I suspect
   you may be able to use the Site Kit dashboard without error by whitelisting any
   Site Kit or Google endpoint as you suggested, but this something I would expect
   you don’t need to do unless you made specific or strict rules. You could whitelist
   the Google Site Kit REST API resources via: `/wp-json/google-site-kit/`
 * Let me know if that works for you, or if you have any questions. Using the previous
   provided steps, you may also whitelist the Request URL.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 day, 18 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/#post-18955397)
 * I see you responded with your own fix before I got back to you [@rmintellek](https://wordpress.org/support/users/rmintellek/)!
   Appreciate the update, and glad that whitelisting worked with your particular
   setup. If you run into any further errors or if you have any Site Kit related
   queries, be sure to get in touch.
 * If you have a moment free please also consider[ leaving a review](https://wordpress.org/support/plugin/google-site-kit/reviews/#new-post)
   given it sounds like you’ve been a Site Kit user for some time based on your 
   mention of the error appearing a few weeks ago. We’d love to hear your feedback.

Viewing 10 replies - 1 through 10 (of 10 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdata-loading-failed-data-error-in-analytics%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

## Tags

 * [dashboard](https://wordpress.org/support/topic-tag/dashboard/)

 * 10 replies
 * 2 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [1 day, 18 hours ago](https://wordpress.org/support/topic/data-loading-failed-data-error-in-analytics/#post-18955397)
 * Status: resolved