Custom Fields
Re-Envisioned
Support MB REST API message: "The WordPress Rest API has been locked to authorized access only.

This topic contains 2 replies, has 2 voices, and was last updated by  Anh Tran 3 weeks, 3 days ago.

  • Creator
    Topic
  • #16640

    Sam
    Participant

    Hi Tran – My site REQUIRES facetted search. I use FacetWP for that. As of last week, the facet search results are no longer working for “logged-out” users. The plugin author has confirmed that it’s not their issue, as they gave me the following reply:

    Hi,

    I get this message from the ajax refresh:

    {code: “rest_not_logged_in”,…}
    code: “rest_not_logged_in”
    data: {status: 401}
    message: “The WordPress Rest API has been locked to authorized access only. Log in to use the API.”

    A plugin, server setting, or even a firewall, cdn is blocking access to non-logged in users when causes facetwp to fail to refresh. You’ll need to figure out what is causing that, if its a plugin it could be a setting.

    I have contacted my host & suppport at WPMUDEV, and they’ve come to the conclusion that it’s likely your metabox.io plugin. I would try installing a previous version, but not sure if it’s the Metabox AIO or the main Metabox plugin I would need to revert.

    Please help!

    Thanks
    Sam

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #16641

    Sam
    Participant

    Would be happy to give you login access outside of the public forum, of course.

    #16647

    Anh Tran
    Keymaster

    Hi Sam,

    You can disable MB REST API in the Meta Box AIO settings and use an earlier version of it from wordpress.org.

    The plugin doesn’t have any control on access permission. Please try deactivating it, and use only FacetWP to see if the problem still happens.

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

You must be logged in to reply to this topic.