Cannot Update Product in Woo Commerce

Describe the problem/error/question

I am running self hosted latest n8n version 1.81.4 on my ubuntu 24.10 behind NGINX reverse Proxy.
From my n8n I am creating Wordpress Woo Commerce products it went successful.
But When I try to update the products it throws an error:
`
Method not allowed - please check you are using the right HTTP method

405 - “”
`

What is the error message (if any)?

Method not allowed - please check you are using the right HTTP method

405 - “”

Error details

From WooCommerce

Error code

405

Full message

405 - ""

Other info

Node type

n8n-nodes-base.wooCommerce

Node version

1 (Latest)

n8n version

1.81.4 (Self Hosted)

Time

3/6/2025, 2:53:36 AM

Stack trace

NodeApiError: Method not allowed - please check you are using the right HTTP method at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/node-execution-context/utils/request-helper-functions.js:991:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/node-execution-context/utils/request-helper-functions.js:1147:20) at ExecuteContext.woocommerceApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/WooCommerce/GenericFunctions.js:29:12) at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/WooCommerce/WooCommerce.node.js:197:36) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:660:19) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:891:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1224:20

Problem in node ‘WooCommerce1‘

Method not allowed - please check you are using the right HTTP method
Method not allowed - please check you are using the right HTTP method

405 - “”

Please share your workflow

Information on your n8n setup

  • n8n version: 1.81.4
  • Database (default: Postgress):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, ): docker
  • **Operating system: ubuntu **
  • Server: NGINX Reverse Proxy for both woo commerce and n8n

I am also using latest n8n version, ubuntu, nginx.

if you set the woocommerce credential correctly and "creating product’ works fine but only “updating product” does not work that looks very weird.

I would check whether all the parameters are correctly set for the products you want to update.

And then check whether it works if you deactivate some plugins related to products, just in case.

2 Likes

Thank you for your suggestion.
It was a plugin named really simple SSL that was stopping update request as proposed by @thefreeman .

I removed that and everything is working fine

2 Likes

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