Publish an article in Joomla CMS

Hello,
I haven’t found a way to publish an article in the Joomla CMS. Are there any known restrictions to test locally (n8n is installed under Docker locally, Wampserver to host the Joomla site)? I get the error: The service refused the connection - perhaps it is offline. I share my workflow:

The n8n container cannot connect to localhost → It tries to access itself, not the Joomla host.

If the URL still uses localhost, it won’t work from Docker → it will give a connection error. The token is passed via httpBearerAuth, but it’s not visible in the workflow body (it refers to an external credential). Make sure this Bearer token is valid (not expired), has permission to create articles, and was generated from Joomla > System > API Tokens.

Ok thanks. The bearer token is verified. Rights also. I tried on a remote server with the correct bearer Auth and I can’t get it to work there either. When I enter https://[mysite]/api/index.php/v1/content/articles/, which is the Joomla API path, I get an error. What’s wrong? Any ideas?

may be it only accept https requests.
it it on localhost or you have implemented poxy tunnel?
if not try ngrok it is free.

Thanks but as said previously I changed the params of the workfow and tested on a remote server (https). Same error

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