Errors since updating from 0.135 to 0.161.1

Hi ! :wave:

I’ve been using a specific workflow for a couple of months now and it worked fine until I upgraded from 0.135 to 0.161.1. Now each time I try to run it, it seems like it tries to run each nodes twice. I get errors like 404

or that the node can’t find the resource even if it exists in the targeted platform.

even if the error pops, the action seems to get executed. If I go in the platforms (Pipedrive or Google Drive) I see the updated information. So it seems that the node executes, update the information, and then encounters the error. I get those similar errors with Google Drive, Pipedrive and Harvest nodes, but if I activate “Continue on fail”, the workflow works since it continues following the error.

Any tip ? Thanks !!

I think I had an issue on that same version, is it possible for you to update to a more recent version?

Hi @jhambach,

Thank you for your time. I updated to 0.162.0 and got the same type of error :

but as you can see here it did upload the right information into Pipedrive :thinking:
image

What happens if you run the node without expressions? I ran into an issue in the past with certain OneDrive functions not working with expressions If you can share your full workflow that may be helpful too

Hi @jhambach I took the time to remove the expressions and indeed the workflows does not encounter the error. What was the issue that was preventing the nodes to process in your experience ? I’ll shorten the workflow and paste it here

Can you share your workflow here? Typically if I run into an issue with expressions not working properly, I’ll add a Set node before that node with that expression, then reference the Set node.

{
“nodes”: [
{
“parameters”: {
“action”: “updated”,
“object”: “deal”
},
“name”: “Pipedrive Trigger”,
“type”: “n8n-nodes-base.pipedriveTrigger”,
“typeVersion”: 1,
“position”: [
60,
340
],
“webhookId”: “”,
“credentials”: {
“pipedriveApi”: {
“id”: “1”,
“name”: “Compte Pipedrive BIM One”
}
},
“disabled”: true,
“notes”: “Si un deal est updaté, tire l’information”
},
{
“parameters”: {
“conditions”: {
“boolean”: [],
“number”: [],
“string”: [
{
“value1”: “={{$json[“current”][“status”]}}”,
“value2”: “won”
},
{
“value1”: “={{$json[“previous”][“status”]}}”,
“operation”: “notEqual”,
“value2”: “won”
}
]
}
},
“name”: “if deal status = won”,
“type”: “n8n-nodes-base.if”,
“typeVersion”: 1,
“position”: [
260,
340
],
“notesInFlow”: true,
“disabled”: true,
“notes”: “Pogne les deals mis à jour, s’assure qu’ils n’étaient pas déjà au statut “gagnés” et passe l’information”
},
{
“parameters”: {
“resource”: “client”,
“operation”: “create”,
“accountId”: 494181,
“name”: “=({{$node[“Lookup client number”].json[“NO. CLIENT”]}}) {{$node[“Save client info”].json[“NOM CLIENT”]}}”,
“additionalFields”: {
“address”: “={{$node[“Save client info”].json[“ADRESSE”]}}”,
“currency”: “={{$node[“Save client info”].json[“DEVISE”]}}”
}
},
“name”: “Create client”,
“type”: “n8n-nodes-base.harvest”,
“typeVersion”: 1,
“position”: [
1660,
40
],
“notesInFlow”: true,
“credentials”: {
“harvestApi”: {
“id”: “3”,
“name”: “[email protected]
}
},
“disabled”: true,
“notes”: “Créé le client dans Harvest”
},
{
“parameters”: {
“authentication”: “oAuth2”,
“operation”: “lookup”,
“sheetId”: “1Q_-vbJPhVNwaTj2fLg”,
“range”: “A:D”,
“lookupColumn”: “NOM DES CLIENTS”,
“lookupValue”: “={{$node[“Save client info”].json[“NOM CLIENT”]}}”,
“options”: {}
},
“name”: “Lookup client number”,
“type”: “n8n-nodes-base.googleSheets”,
“typeVersion”: 1,
“position”: [
1460,
40
],
“notesInFlow”: true,
“credentials”: {
“googleSheetsOAuth2Api”: {
“id”: “2”,
“name”: “[email protected]
}
},
“disabled”: true,
“notes”: “lookup in clients list to fetch client code”
},
{
“parameters”: {
“values”: {
“string”: [
{
“name”: “NOM CLIENT”,
“value”: “={{$node[“Get Org.”].json[“name”]}}”
},
{
“name”: “ADRESSE”,
“value”: “={{$node[“Get Org.”].json[“address”]}}”
},
{
“name”: “DEVISE”,
“value”: “={{$node[“Get Deal”].json[“currency”]}}”
}
]
},
“options”: {}
},
“name”: “Save client info”,
“type”: “n8n-nodes-base.set”,
“typeVersion”: 1,
“position”: [
860,
40
],
“disabled”: true
},
{
“parameters”: {
“authentication”: “oAuth2”,
“operation”: “append”,
“sheetId”: “1t20NLcfky1nn25-0-JUmzTQtE_6slljdTQlFBw”,
“range”: “A:C”,
“options”: {
“valueInputMode”: “USER_ENTERED”
}
},
“name”: “Write client name on list”,
“type”: “n8n-nodes-base.googleSheets”,
“typeVersion”: 1,
“position”: [
1040,
40
],
“credentials”: {
“googleSheetsOAuth2Api”: {
“id”: “2”,
“name”: “[email protected]
}
},
“disabled”: true
},
{
“parameters”: {
“amount”: 3,
“unit”: “seconds”
},
“name”: “Wait”,
“type”: “n8n-nodes-base.wait”,
“typeVersion”: 1,
“position”: [
1240,
40
],
“webhookId”: “c56b4a-391-493b17a”,
“notesInFlow”: true,
“disabled”: true,
“notes”: “wait until the IMPORTRANGE is updated”
},
{
“parameters”: {},
“name”: “end”,
“type”: “n8n-nodes-base.noOp”,
“typeVersion”: 1,
“position”: [
460,
420
]
},
{
“parameters”: {
“resource”: “project”,
“operation”: “create”,
“accountId”: 494181,
“name”: “DEPLACEMENT”,
“clientId”: “={{$node[“Create client”].json[“id”]}}”,
“additionalFields”: {}
},
“name”: “Create DEPLACEMENT project”,
“type”: “n8n-nodes-base.harvest”,
“typeVersion”: 1,
“position”: [
1840,
40
],
“notesInFlow”: true,
“credentials”: {
“harvestApi”: {
“id”: “3”,
“name”: “[email protected]
}
},
“disabled”: true,
“notes”: “Créé projet DEPLACEMENT”
},
{
“parameters”: {
“resource”: “organization”,
“operation”: “get”,
“organizationId”: “={{$node[“Pipedrive Trigger”].json[“current”][“org_id”]}}”
},
“name”: “Get Org.”,
“type”: “n8n-nodes-base.pipedrive”,
“typeVersion”: 1,
“position”: [
460,
160
],
“notesInFlow”: true,
“credentials”: {
“pipedriveApi”: {
“id”: “1”,
“name”: “Compte Pipedrive BIM One”
}
},
“disabled”: true,
“notes”: “Fetch info on org”
},
{
“parameters”: {
“conditions”: {
“string”: [
{
“value1”: “={{$node[“Get Org.”].json[“d1ec27adeaa300d7d7ca5def87f279d54f0b473d”]}}”,
“operation”: “isEmpty”
}
]
}
},
“name”: “New Client ?”,
“type”: “n8n-nodes-base.if”,
“typeVersion”: 1,
“position”: [
660,
160
],
“disabled”: true
},
{
“parameters”: {},
“name”: “NoOp”,
“type”: “n8n-nodes-base.noOp”,
“typeVersion”: 1,
“position”: [
900,
240
]
}
],
“connections”: {
“Pipedrive Trigger”: {
“main”: [
[
{
“node”: “if deal status = won”,
“type”: “main”,
“index”: 0
}
]
]
},
“if deal status = won”: {
“main”: [
[
{
“node”: “Get Org.”,
“type”: “main”,
“index”: 0
}
],
[
{
“node”: “end”,
“type”: “main”,
“index”: 0
}
]
]
},
“Create client”: {
“main”: [
[
{
“node”: “Create DEPLACEMENT project”,
“type”: “main”,
“index”: 0
}
]
]
},
“Lookup client number”: {
“main”: [
[
{
“node”: “Create client”,
“type”: “main”,
“index”: 0
}
]
]
},
“Save client info”: {
“main”: [
[
{
“node”: “Write client name on list”,
“type”: “main”,
“index”: 0
}
]
]
},
“Write client name on list”: {
“main”: [
[
{
“node”: “Wait”,
“type”: “main”,
“index”: 0
}
]
]
},
“Wait”: {
“main”: [
[
{
“node”: “Lookup client number”,
“type”: “main”,
“index”: 0
}
]
]
},
“Get Org.”: {
“main”: [
[
{
“node”: “New Client ?”,
“type”: “main”,
“index”: 0
}
]
]
},
“New Client ?”: {
“main”: [
[
{
“node”: “Save client info”,
“type”: “main”,
“index”: 0
}
],
[
{
“node”: “NoOp”,
“type”: “main”,
“index”: 0
}
]
]
}
}
}

Thing is I didn’t have this issue before upgrading :sweat_smile: