Hello everybody,
I am facing an issue while trying to create accounts (which are personal accounts) pushing data from my Postgres database towards my Salesforce. I have no problem for creating Contacts or Opportunities but for Account it keeps showing the same error message to me whereas it should be a very easy workflow.
The error message is : ERROR: Bad request - please check your parameters
“message”: “400 - [{“message”:“record type missing for: Compte”,“errorCode”:“CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY”,“fields”:[]}]”,
“name”: “Error”,
“stack”: “Error: Request failed with status code 400 at createError (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/createError.js:16:15) at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:269:11) at IncomingMessage.emit (node:events:525:35) at IncomingMessage.emit (node:domain:489:12) at endReadableNT (node:internal/streams/readable:1358:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)”
Here is the code behind our nodes :
Does anybody have an idea of what is going on please ?
Cheers,
Quentin