Create post on wordpress.com hosted blog

Hi Guys,

I´m trying to connect my n8n workflow to a blog hosted on wordpress.com (not self hosted).

However, I´m still unable to create a post cause wordpress.com responds as follows:
"Authorization failed - please check your credentials
Sorry, you are not allowed to create posts as this user."

I think I´ve an issue with the URL - maybe someone has a hint for me?

Thanks a lot in advance,
best regards,
Michael

Hi, are you able to make a test post through another tool outside of N8n?

The URL seems to be generic
I get this

Reg,
J.

Hi J.,

The URL was a dummy URL - normally there is the URL of my blog (so that´s the reason for the exception you receive). However, it seems the WordPress Node isn´t working with a blog that´s hosted on wordpress.com.

I´ve created an OAuth Access Token and if I execute the request directly (e.g. with postman) the post is generated. To me it seems the WordPress n8n node doesn´t support OAuth authorization (which is required for wordpress.com).

Maybe I´ve to build the http request to the API manually…

Best regards,
Michael

1 Like