Retry on fail error but it worked (?)

Describe the problem/error/question

I’m using n8n to upload attachments to azure devops. When running the workflow, as I have changes prior to this (such as adding a comment in the style of “a new attachment has been added”) I need to deal with an error: “Your request is invalid or could not be processed by the service [item 1]
TF26071: This work item has been changed by someone else since you opened it. You will need to refresh it and discard your changes.”

As a solution to this error, which has happened before in other workflows, I put a “retry on fail” so that azure devops has time to save and can insert the attachments later.

This solves this first error, but it brings me the error mentioned in this ticket, which is: when using this retry on fail, I can actually insert the attachments I want, but the execution returns the error I mentioned below. I’d like to know what I can change so that I don’t get the error in a run that actually worked.

As seen in the image, I can have more than one item as an entry, is it something to do with that?

What is the error message (if any)?

Bad request - please check your parameters [item 0]

Relation already exists.

Please share your workflow

image

Share the output returned by the last node

Information on your n8n setup

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

Hey @Googlebbb , you can set On Error to “Continue” and decide what to do in the next node. HTTP Request node fails based on the error code returned. If it is not 2xx (success) then it assumes the request failed.

1 Like