WordPress integration issue

I run WordPress with a security plugin called PatchStack. That plugin has a feature to only allow authenticated connnections over the REST API. I think that should be default in WP, but this is what it is. I installed the JSON Basic Auth plugin recommended by Active Pieces. I cheked permalink settings and created an editor user. I can’t get connected with my site as it constantly throws this error:

Connection failed: REST API is not reachable, visit https://www.###.nl//wp-json" make sure your settings (Settings → Permalinks) are set to “Post name” (or any option other than “Plain”) and disable any security plugins that might block the REST API

Even though there is a double slash, https://www.###.nl//wp-json just works fine and gives me a whole lot of JSON output.

Hi @WEB-WINGMEN,

Welcome to the Community!

Wordpress can always be a bit tricky! but let me try to help you out.

To make sure you basics are correct please use these details

Username: Your username
Password: Preferably your application password as it is more safe otherwise your user password
URL: https://domain.com

Don’t add anything else to your domain.

Please try this and let me know the outcome, if this does not work, please try to deactivate the JSON Authentication plugin, as this might work too… (don’t ask me why)

If you run into an issue: please share a screenshot of you input please blur/make your password invisible.

KR Bram

1 Like

I am getting the same problem. Tried your recommendations, still no connection. Does any one have any additional tips other than: Connection failed: REST API is not reachable, visit " make sure your settings (Settings → Permalinks) are set to “Post name” (or any option other than “Plain”) and disable any security plugins that might block the REST API

Sorry for the delay, in holiday currently.

Can you share a screenshot of your input details for the connection? You may do this in private. Please blurr the password if needed.

Kr Beam

I also have the similar issue btw my wordpress is connected to cloud-flare will that be a issue ?

I solved it by deactivating security plugin that allows only authenticated connnections over the REST API when creating connection to wordpress in activepieces. After connection was created I reactivated security plugin and it’s working OK since then.

Hope it helps.

Which WP security plugin caused the issue? I can avoid it too.

Thank you for your response .In my case, I have deactivated these plugins from my wordpress and tried again it worked after that.

Jetpack
Bit Integrations
JSON Basic Authentication