Wordpress Connection - Can't connect

I am trying to connect to Wordpress but I am getting the error:

Connection failed with error REST API is not reachable, visit https://trendresearcher.com/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

My permalinks are as advised and I have no security plugins on the site. I have connected successfully to two other Wordpress sites (same server) but this one won’t connect.

The main difference between this site and the others is that this one is built with Bricks builder.

I’m wondering if there’s any chance that is the cause…If so, is there another way I can connect?
I want to create and update ACF custom posts using ActivePieces.
Any thoughts or advice welcome.

Hi @Nicolai ,
Please try to use only your domain, https.//domain.com with out the /wp-json

Kr Bram

Hi Bram,
Thank you, yes, that is what I did…I have it configured without the json.

That link with /wp-json at the end is generated by the error message, but in the connector I just put my url in (https://domain.com)

Hi Nicolai,

No problem, let’s continue to debug.

Could you please share some screenshots of the set-up? also is the account you are trying to connect an admin?

Sure!
Let me know what screenshots you’d like.
Here is one screenshot of the AP connector setup.

Yes, the account is an administrator.

  • I have tried connecting both with the email address of the account as well as the username
  • I have also tried with the username & password as well as using the username and application password.

Thanks for the screenshot, things look good indeed. The conenction with Wordpress is always a bit funky.

Could you try to create a new admin account and connect that one? (that helped me in the past.)

as a next step you could disable all plugins and try again.

Thank you for the suggestion.

I tried:

  1. Deleting previous wp user and creating a new admin account
  2. Logging in with new admin account username and password
  3. Creating new application password and logging in with new admin account
  4. Logging in with new admin account email and password
  5. disabling all plugins
  6. Disabling Bricks Theme
  7. Checked server logs for errors (found none)

None of it worked. Same error every time.

I have also put in a support ticket with the host just in case it’s a problem there, but I checked the server logs and there are no errors there. Last thing logged is me making changes from the Wordpress admin panel.

Annoying, did you try to debug it with ChatGPT?

I did, but most of the solutions seem generic:

  • check PHP
  • Check that you have all the required ActivePieces plugins
  • Update Wordpress
  • Disable malware plugins
  • Check firewall settings
  • Check if SSL is expired
  • make sure /json is not blocked in .htaccess
  • Check if you need wp rest api authentication plugin
  • check url of site
  • check that user exists
  • reset user password

etc.