• Resolved wapwop

    (@wapwop)


    Hi,

    I’ve very recently come across some Site Kit issues that prevent information coming to the site kit dashboard. I also had some troubles setting up Analytics, which is resolved now as I set it up through troubleshooting mode.

    I’ve downloaded and installed the ‘Health Check & Troubleshooting’ plugin and Site kit works correctly in this mode.

    However, I re-enabled ALL plugins + themes also in Troubleshooting mode, and Site Kit still works correctly. So I can’t be sure it’s a plugin or theme issue.

    After coming out of Troubleshooting mode, Site Kit continues to work, but only for a short period. After a while, it seems to just stop working again randomly.

    Site kits error just comes up as:

    “Data error in Analytics, The server provided an invalid response.”

    In Google Console, I’m getting multiple errors:

    “Failed to load resource: the server responded with a status of 500 ()”


    “Google Site Kit API Error method:GET datapoint:report type:modules identifier:analytics error:”The response is not a valid JSON response.”

    The only changes I’ve made recently is connecting litespeed with QUIC and changing nameservers, but not sure if it’s connected at all.

    Would anyone know a potential solution?



Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter wapwop

    (@wapwop)

    I forgot to mention previously it was saying there was an issue connecting to REST API, and there were other JSON errors when trying to connect Analytics.

    However, when checking site health, REST API was active and functional as normal, and other services connected via REST API were working fine.

    Thread Starter wapwop

    (@wapwop)

    Version
    1.95.0
    PHP Version
    8.1.16
    WordPress Version
    6.1.1
    AMP Mode
    No
    Site Status
    Connected through site credentials
    User Status
    Authenticated
    Verification Status
    Verified outside of Site Kit
    Connected user count
    1
    Active Modules
    Site Verification, Search Console, Analytics, Analytics 4, PageSpeed Insights
    Recoverable Modules
    None
    Required scopes
    openid: ?</img>
    https://www.googleapis.com/auth/userinfo.profile: ?</img>
    https://www.googleapis.com/auth/userinfo.email: ?</img>
    https://www.googleapis.com/auth/siteverification: ?</img>
    https://www.googleapis.com/auth/webmasters: ?</img>
    https://www.googleapis.com/auth/analytics.readonly: ?</img>
    User Capabilities
    googlesitekit_authenticate: ?</img>
    googlesitekit_setup: ?</img>
    googlesitekit_view_posts_insights: ?</img>
    googlesitekit_view_dashboard: ?</img>
    googlesitekit_manage_options: ?</img>
    googlesitekit_update_plugins: ?</img>
    googlesitekit_view_splash: ?</img>
    googlesitekit_view_authenticated_dashboard: ?</img>
    googlesitekit_view_wp_dashboard_widget: ?</img>
    googlesitekit_view_admin_bar_menu: ?</img>
    googlesitekit_view_shared_dashboard: ?</img>
    googlesitekit_read_shared_module_data::["search-console"]: ?</img>
    googlesitekit_read_shared_module_data::["analytics"]: ?</img>
    googlesitekit_read_shared_module_data::["pagespeed-insights"]: ?</img>
    googlesitekit_manage_module_sharing_options::["search-console"]: ?</img>
    googlesitekit_manage_module_sharing_options::["analytics"]: ?</img>
    googlesitekit_manage_module_sharing_options::["pagespeed-insights"]: ?</img>
    googlesitekit_delegate_module_sharing_management::["search-console"]: ?</img>
    googlesitekit_delegate_module_sharing_management::["analytics"]: ?</img>
    googlesitekit_delegate_module_sharing_management::["pagespeed-insights"]: ?</img>
    Features
    adsenseSetupV2: ?</img>
    dashboardSharing: ?</img>
    ga4ActivationBanner: ?</img>
    ga4Reporting: ?</img>
    gm3Components: ?</img>
    gteSupport: ?</img>
    userInput: ?</img>
    Search Console Shared Roles
    None
    Search Console Management
    Owner
    Analytics Shared Roles
    None
    Analytics Management
    Owner
    PageSpeed Insights Shared Roles
    None
    PageSpeed Insights Management
    Any admin signed in with Google
    Search Console property
    Yes

    this is from site health, though I’ve omitted any info which may invade privacy.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    Hi @wapwop thanks for getting in touch. Many of the error messages you are receiving are generic WordPress errors. These can specific to hosts so could I please ask who your hosting provider is?

    If the errors clear when switching to troubleshooting mode this does highlight a theme or plugin conflict. If you could disable any caching and optimization plugins and check back on your site later, do you still see any issues?

    Could you please also share full Site Health Information which you can share privately here.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    As we didn’t receive a response I’ll mark this as resolved. Feel free to?open a new support topic?if you continue to encounter issues, or reopen this topic and we’d be happy to assist.

    Hi I am Arjun from India can you guys please help me how to solve these two problems in WordPress site kit .

    1.) Data error in Analytics The server provided an invalid response.Retry didn’t work? Get help

    2.) Data error in Search Console Curl error 6: getaddrinfo() thread failed to start (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)Retry didn’t work? Get help

    I have tested all the methods to solve this problem whatever you guy’s mentioned above but I couldn’t do it please help me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Data error in Analytics – The server provided an invalid response.’ is closed to new replies.