• Hi,

    Getting this error on one of our client site which affecting the page speed and overall site performance. Why is this error happening, and how can I solve this?

    Invalid WP API response
    WordPress gave an unexpected response when notified with UCSS results from node 38.114.121.40. Check WP API is properly configured.”

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support litetim

    (@litetim)

    @prabinm please send a report to Litespeed and share the ID generated.
    You can follow these steps: https://docs.litespeedtech.com/lscache/lscwp/thirdparty/#document-report

    Thread Starter PRABIN M

    (@prabinm)

    Hi @litetim,

    Thank you for your reply. Sorry to say this, I can’t share the report ID. Because this is one of our client’s site and they need absolute privacy on it.

    Is there any other way to check and sort this issue?

    Plugin Support litetim

    (@litetim)

    @prabinm create a ticket and share this topic URL.
    To creat a ticket send a email to: support at litespeedtech.com

    Thank you

    Since you cannot share the report ID publicly, I would debug the response path rather than the UCSS result itself.

    That message usually means the remote LiteSpeed node notified WordPress, but WordPress returned something other than the expected REST/API response.

    Check these privately:

    1. Open this in a logged-out browser:
      /wp-json/

    It should return JSON, not HTML, a redirect, a firewall page, or a maintenance page.

    1. Check server access logs around the time of the error for requests from:
      38.114.121.40

    Look at the status code and response type.

    1. Check whether any layer is blocking or changing REST requests:
    • Cloudflare/WAF/Bot Fight mode
    • ModSecurity
    • security plugin
    • basic auth
    • maintenance mode
    • custom redirects
    • cache-everything CDN rule
    1. Exclude REST/API paths from aggressive cache/security rules:
      /wp-json/*
      admin-ajax.php
      LiteSpeed callback/API paths if present in the logs
    2. Temporarily disable UCSS and reproduce. If the warning stops, the issue is likely the callback/notification path rather than general page speed.

    If privacy is the concern, the private ticket is still probably the right route, but the server logs should show whether WordPress returned JSON, a 403, a redirect, or an HTML error page.

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

You must be logged in to reply to this topic.