Open navidadelpour opened 8 months ago
Hi @drudge @ubtashton Am I making a mistake? I've checked the source code and in NetSuite.node.ts#L305 it sets query = body. does it creates the problem?
Ok, I've figured it out. I used a Set node before the NetSuite Node and removed the body parameter like this:
And query would use item.json instead of the body field (const query = body || (item ? item.json : undefined);
).
I guess that the root of the problem is that the body is string (const body = fns.getNodeParameter('body', itemIndex) as string;
) but the query expects to receive an object.
Should I fix this in a PR? @drudge
The raw request as demonstrated below: Is not working and gives:
But in the postman it is working properly (gives 204 code)