When I want to upload the image to WordPress, it gives me this error

When I want to upload the image to WordPress, it gives me this error
( Problem in node ‘change image‘

This operation expects the node’s input data to contain a binary file ‘https://v3.fal.media/files/zebra/COx54w2dUjQMk6s6d4378_image.webp’, but none was found [item 0])

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Instead of url, you must add binary fields to there

How do I add it?

You need to do GET request first to the URL, before you do POST request.
Here is a sample for your problem.

If it helps, please let me know, and kindly mark my message as solution, thanks!

i have oher probleme “Authorization failed - please check your credentials”

I think when you upload to WordPress, it needed authentication, I’m not using WordPress, so I can’t help specific with WordPress.

ok thanks for your help

Can u help me with mark the message before?:slight_smile:

You need to add authorization in the post request to wordpress

Get the application password from wordpress. Go to users → profile → scroll down to application passwords and create a new one

it good but if i have 3 image How do I do that?

use a loop node

can you give me a model