Upload media to wordpress

Hello community
I am trying to upload images to wordpress media but I keep getting this error , if you have any advice please hepl out

Information on your n8n setup

  • Running n8n via n8n cloud

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:

Hi @Malak
I managed to upload files to Wordpress with this configuration of the HTTP Request node:

Let me know if that helps

1 Like

the parameters of my node are the same as yours but now I am getting a new error


is ther any solution to this ?

Just to be clear, you managed to upload the image but now you get a 401 error when accessing a public URL? Or is there additional authentication required to acccess your website?

That’s pretty odd - can you access that image URL outside of n8n?

I get now the error before the upload of the image ; it is when getting the image through a public URL and the weirdpart is that I can access the image through the url outside of n8n

are you using Cloudinary?

No I get images from my own database

can you check what plugins your wordpress has installed and enabled?
This error looks like it is possibly coming from a plugin that’s talking to an external service.
Is dhno0oksh the wordpress user?

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