Hi, I am trying to send JSON data to an AWS SNS topic and I am encountering an issue whenever I send an array in the message payload.
Error
NodeApiError: UNKNOWN ERROR - check the detailed error for more information
at Object.awsApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Aws/GenericFunctions.js:23:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.awsApiRequestSOAP (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Aws/GenericFunctions.js:38:22)
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Aws/AwsSns.node.js:261:42)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:658:28)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:590:53
Here is as sample payload I am sending:
{{ '{
"name": "Me",
"options": ["1234", "4567"]
}' }}
It works if I remove the array from the message payload.
Do I need to do anything special using Javascript to resolve this? Any ideas how I can resolve this?
Thanks.