Hey, i am running N8n on my server and recently created a workflow that collects form-data and send them, among with the user-ID, to GetResponse.
For this purpose i am using the GetResponse node.
Even though the Node supports out of the box integrated and custom fields, it seems that the custom field logic is not working.
Current settings:
Resource: contact
Operation: update
Szenario with Integrated fields that i want to update:
works.
Szenario with custom fields that i want to update:
error message.
{"context":{},"name":"NodeApiError","cause":{"message":"400 - {\"httpStatus\":400,\"code\":1000,\"codeDescription\":\"General error of validation process, more details should be in context section\",\"message\":\"Validation error, see context section for more information\",\"moreInfo\":\"https://apidocs.getresponse.com/en/v3/errors/1000\",\"context\":[{\"validationType\":\"body\",\"fieldName\":\"customFieldValues[][values]\",\"originalValue\":\"\",\"errorDescription\":\"Value field must be specified as array\"},{\"validationType\":\"body\",\"fieldName\":\"customFieldValues[][values]\",\"originalValue\":\"\",\"errorDescription\":\"Value field must be specified as array\"},{\"validationType\":\"body\",\"fieldName\":\"customFieldValues[][values]\",\"originalValue\":\"\",\"errorDescription\":\"Value field must be specified as array\"},{\"validationType\":\"body\",\"fieldName\":\"customFieldValues[][values]\",\"originalValue\":\"\",\"errorDescription\":\"Value field must be specified as array\"}],\"uuid\":\"8b88e9c2-dbc4-49d3-899b-e61074e7a5b1\"}","name":"Error","stack":"Error: Request failed with status code 400\n at createError (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/createError.js:16:15)\n at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:17:12)\n at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:269:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)"},"timestamp":1664988330068,"message":"Bad request - please check your parameters","node":{"parameters":{"authentication":"apiKey","resource":"contact","operation":"update","contactId":"={{ $json[\"query\"][\"user-ID\"] }}","updateFields":{"customFieldsUi":{"customFieldValues":[{"customFieldId":"nw","value":"={{ $json[\"query\"][\"Vorname\"] }}"},{"customFieldId":"n7","value":"={{ $json[\"query\"][\"Nachname\"] }}"},{"customFieldId":"U","value":"={{ $json[\"query\"][\"Anrede\"] }}"},{"customFieldId":"z","value":"={{ $json[\"query\"][\"Geburtsdatum\"] }}"}]},"name":"={{ $json[\"query\"][\"Vorname\"] }} {{ $json[\"query\"][\"Nachname\"] }}"}},"id":"030a1430-9238-409c-bc49-d905f27bb836","name":"GetResponse","type":"n8n-nodes-base.getResponse","typeVersion":1,"position":[740,300],"retryOnFail":false,"alwaysOutputData":true,"notesInFlow":false,"credentials":{"getResponseApi":{"id":"1","name":"GetResponseFM"}}},"httpCode":"400","description":"Validation error, see context section for more information"}