Wordpress 406 error

Hi community,

I am trying to set up a WordPress connection, but it always gets me the 406 error, when i want to create a post. Can someone help?

Thx

Hey @ManyQuestions

Just remove /wp-login from the WordPress URL field.

1 Like

That is not working as well.

404 error:

And:

Hey @ManyQuestions

Are you using any security plugin that hides or modifies the WordPress Dashboard access url?

@martinhache No. Plain Wordpress install for testing.

@ManyQuestions Can you check that it returns the following query in the browser in private mode?

https://<your-website>/wp-json/

@martinhache

SCR-20230530-nbjm

@ManyQuestions The API is not accessible on this WordPress installation. That’s why n8n is returning a 4XX error.

Check with your hosting provider how to make the API accessible.

2 Likes

Got some external help. The REST API wasn’t open (fresh WP install). We installed a plugin to open it up. Now it works. Thx alot @martinhache

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.