You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The raw request as demonstrated below:
Is not working and gives:
But in the postman it is working properly (gives 204 code)
The text was updated successfully, but these errors were encountered: