Webhook executing the workflow many times on 1 request

Describe the problem/error/question

Hello guys,
Im using a webhook node. When I send the request to it (Production or test) it receives the body twice or 3 times on 1 click.
How can I fix it so that It receives the data only once?

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

@Nazih_Saba , I wonder if the service that sends the request to your webhook expects some specific response. As it does not get it, it might be re-sending the request assuming the webhook did not receive it.

@Nazih_Saba If you refresh the frontend, can you still reproduce the issue?
Iā€™m wondering if this is an issue of the frontend listening to backend messages multiple times.

I think that was the issue. I modified the webhook to send response immediately, and so far the problem did not appear.

2 Likes

I thought the issue was with the frontend. But My worfklow posts data at specific places, and It was posting them multiple times on 1 click.