• Dear Community!



    Unfortunately, when editing my website, I encountered 2 errors:

    The REST API encountered an unexpected result:

    The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.


    When testing the REST API, an unexpected result was returned:

    REST API Endpoint: https://www.mydomain.com/wp-json/wp/v2/types/post?context=edit
    REST API Response: (400) Bad Request

    ———————————————————————————–

    Your site could not complete a loopback request

    Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.

    The loopback request returned an unexpected HTTP status code, 400, and it was not possible to determine if this will prevent features from working as expected.


    ———————————————————————————–

    Unfortunately, I am not a developer, so I don’t really know where to start in solving the problem. I have already deactivated all the plugins and switched back to the default theme, but unfortunately, the problem has not been resolved.
    If anyone has experienced something similar, please share your experiences and possible solutions with me.

    Thank you in advance for your help!

    • This topic was modified 1 year, 6 months ago by peter09m.
    • This topic was modified 1 year, 6 months ago by peter09m.
Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    If API and loopbacks fail with only a plain vanilla WP installation, the problem is external to WP, likely something about your server’s configuration. Often some sort of firewall or security configuration needs modification. You’ll likely need your host’s assistance to resolve this.

Viewing 1 replies (of 1 total)
  • The topic ‘Rest API & Loopback issues’ is closed to new replies.