My webhook is connected to an HTTP module that makes a request to an API.
There are times when the API returns an error because it has no data.
Error: StatusCodeError: 404 - {"header":{"statut":404,"message":"No elements found with those query parameters"}}
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest.node.js:762:27)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:369:47
Is there a way to catch that Error back in the webhook ?
I tried with all different response modes (ālast nodeā or āon receivedā) and with all response data (all entries, first entry json, first entry binary) => But the response I get is always my initial request.
Any idea how to solve that ? Is that doable ?