406 error upload feature image Wordpress

Hi guys. I’m new here and trying do create a automation that reads a RSS feed, get the last blogpost, translate to my native language and post it on my site. However I’m getting a 406 error when I upload the feature_image on Wordpress.

My website is hosted in a share server by Hostgator and I couldn’t find ModSecurity on my cPanel.

ERROR MESSAGE

406 - "<head><title>Not Acceptable!</title></head><body><h1>Not Acceptable!</h1><p>An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.</p></body></html>"

Please share your workflow

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:

Hi guys, I still don’t know how to fix this issue, but I found a workaround. I ended up using the “edit image” node and left the text operation empty. In the options, I selected the “jpeg” format. After that, I was able to upload the image to WordPress. See below:

1 Like

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