Wordpress Post featured image returns get request

Describe the problem/error/question

I want to upload an image to wordpress but it only returns back a GET request of only 10 images on my wordpress. I’ve correctly setup auth using the guides and verified it using postman and another n8n node that creates a post. But for featured image it doesn’t work.

Binary data exists in the previous node json output and even tried with “fixed” not “Expression” but still not working.

What is the error message (if any)?

Any thoughts on what might be wrong?

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

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

Hi @pooria :wave: Sorry for the delay on this one!

While I know @Jon was looking into adding this functionality into this node, you’ll need to use a HTTP Request for the moment for Wordpress media files. Here’s an example workflow that can download an image, upload it as a media file to Wordpress, and then set it as your featured image:


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