WordPress Auhorization issues

Describe the problem/error/question:

I have a blog that I post to word press from n8n. I set it all up and automated the process, i set up the wordpress user and app and ran my n8n without any issue for a while. Then i noticed that my blogs were not posting, so i look at my workflow and notice that i get a authorization error, and that the wordpress node does not want to load the author property. To solve this issue i have even created a new wordpress user with admin rights and a new app in wordpress with a new key, but i still cant post my blog. Please can someone help me sort this out or point me in a direction that i can start to find answers for why this is happening?

What is the error message (if any)?

Authorization failed - please check your credentials
Sorry, you are not allowed to create posts as this user.

Please share your workflow

{
“nodes”: [
{
“parameters”: {
“title”: “={{ $(‘Title’).item.json.message.content }}”,
“additionalFields”: {
“content”: “=<img src="{{ $(‘Call hugginface inference api’).item.json.output.full_file_name }}" alt="Cover Image">\n{{ $(‘HTML version’).item.json.message.content }}}”,
“slug”: “={{ $(‘Slug’).item.json.message.content }}”,
“status”: “publish”,
“commentStatus”: “closed”,
“sticky”: false,
“categories”: [
6,
7,
9,
8
],
“tags”: [
10,
15,
13,
12
],
“postTemplate”: {
“values”: {}
}
}
},
“type”: “n8n-nodes-base.wordpress”,
“typeVersion”: 1,
“position”: [
1800,
1500
],
“id”: “92e6960d-9e47-48b9-9e74-ac8ef459d9ae”,
“name”: “Wordpress”,
“credentials”: {
“wordpressApi”: {
“id”: “2MYgpc6PjQAg1opP”,
“name”: “Wordpress Credential - Antikythera Blog”
}
}
}
],
“connections”: {
“Wordpress”: {
“main”: [

]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “55824b9bc7f6bbab7abf3bc32d852780fc7c63cbfb2e8195518ca3e6fbab42cd”
}
}

Information on your n8n setup

  • n8n version: Version 1.81.4
  • Database (default: SQLite): Not sure where to get this?
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Not sure where to get this?
  • Running n8n via (Docker, npm, n8n cloud, desktop app): - Docker
  • Operating system: Ubuntu 22.04

Could you provide more error details?

You may have to setup manual oauth refreshes, as the in built oauth sometimes fails.

Hi there, that is unfortunately the error it gives me. How do i get more details for you? But i have worked on this issue quite a bit. Even if i go and create a new admin user with a new app password and use those credentials it still fails. So there is either an issue one my wordpress or there is some kind of o-auth issue that does not allow me to authenticate. I can manually still post blogs with those users but not via n8n. I am even considering rebuilding my wordpress blog to see if that solves this issue…

Can you show your wordpress oauth credentials page? (remove/blur keys if visible)