Hello everyone,
Can you help me? I can’t create the connection on WordPress, it gives me a 404 error when creating the credential.
Error : Couldn’t connect with these settings
Request failed with status code 404

Information on your n8n setup
n8n version: 1.16.0
Running n8n via n8n cloud
n8n
February 5, 2024, 9:27am
2
It looks like your topic is missing some important information. Could you provide the following if applicable.
n8n version:
Database (default: SQLite):
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via (Docker, npm, n8n cloud, desktop app):
Operating system:
Manuel
February 5, 2024, 10:14am
3
Hey,
please share the workflow (or at least a screenshot) properly. Currently no one can see what the problem might be … and obviously not help you.
Manuel
February 5, 2024, 1:49pm
5
I can confirm your error. I tried with a demo account for wordpress.com and it does not connect.
While reading why it might now work - it looks like to me that the credentials file expects something to work with this:
test: ICredentialTestRequest = {
request: {
baseURL: '={{$credentials?.url}}/wp-json/wp/v2',
url: '/users',
method: 'GET',
skipSslCertificateValidation: '={{$credentials.allowUnauthorizedCerts}}',
coming from n8n/packages/nodes-base/credentials/WordpressApi.credentials.ts at master · n8n-io/n8n · GitHub
This will work if you have your wordpress installed manually - but if you are trying to use wordpress.com … they seem to have changed the API to a different url - one can read here about it
A developer with enough time should took a look at this.
Manuel:
test: ICredentialTestRequest = {
request: {
baseURL: '={{$credentials?.url}}/wp-json/wp/v2',
url: '/users',
method: 'GET',
skipSslCertificateValidation: '={{$credentials.allowUnauthorizedCerts}}',
Thank you for your answer but where are we going to implement this code?
Manuel
February 9, 2024, 11:49am
7
Hey,
this is nothing which you can include - this is a hint for a developer or maintainer of the N8N project. I believe this is broken and needs to be fixed by someone with a bit of time at their hands.
Sorry for the confusion.
system
Closed
May 9, 2024, 11:50am
8
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.