Describe the problem/error/question
Wordpress credentials not working. I’ve correctly inputted the user and password for my administer and it says successfully synced but when I try to run any Wordpress action through the Wordpress node I get a 401 error.
What is the error message (if any)?
Error code
401
Please share your workflow
Share the output returned by the last node
{
“errorMessage”: “Authorization failed - please check your credentials”,
“errorDescription”: “Sorry, you are not allowed to create posts as this user.”,
“errorDetails”: {
“rawErrorMessage”: [
“401 - {"code":"rest_cannot_create","message":"Sorry, you are not allowed to create posts as this user.","data":{"status":401}}”
],
“httpCode”: “401”
},
“n8nDetails”: {
“nodeName”: “Wordpress”,
“nodeType”: “n8n-nodes-base.wordpress”,
“nodeVersion”: 1,
“resource”: “post”,
“operation”: “create”,
“time”: “8/14/2024, 3:57:42 PM”,
“n8nVersion”: “1.47.0 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: Authorization failed - please check your credentials”,
" at Object.requestWithAuthentication (/opt/render/project/src/packages/core/src/NodeExecuteFunctions.ts:1908:10)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at Object.requestWithAuthentication (/opt/render/project/src/packages/core/src/NodeExecuteFunctions.ts:3242:11)“,
" at Object.wordpressApiRequest (/opt/render/project/src/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts:42:10)”,
" at Object.execute (/opt/render/project/src/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts:188:22)“,
" at Workflow.runNode (/opt/render/project/src/packages/workflow/src/Workflow.ts:1379:8)”,
" at /opt/render/project/src/packages/core/src/WorkflowExecute.ts:1059:27",
" at /opt/render/project/src/packages/core/src/WorkflowExecute.ts:1763:11"
]
}
}
Information on your n8n setup
Node type
n8n-nodes-base.wordpress
Node version
1 (Latest)
n8n version
1.47.0 (Self Hosted)
Time
8/14/2024, 3:57:42 PM
Stack trace
NodeApiError: Authorization failed - please check your credentials at Object.requestWithAuthentication (/opt/render/project/src/packages/core/src/NodeExecuteFunctions.ts:1908:10) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.requestWithAuthentication (/opt/render/project/src/packages/core/src/NodeExecuteFunctions.ts:3242:11) at Object.wordpressApiRequest (/opt/render/project/src/packages/nodes-base/nodes/Wordpress/GenericFunctions.ts:42:10) at Object.execute (/opt/render/project/src/packages/nodes-base/nodes/Wordpress/Wordpress.node.ts:188:22) at Workflow.runNode (/opt/render/project/src/packages/workflow/src/Workflow.ts:1379:8) at /opt/render/project/src/packages/core/src/WorkflowExecute.ts:1059:27 at /opt/render/project/src/packages/core/src/WorkflowExecute.ts:1763:11