test.xmlHi Team,
We were persisting a large binary object(file) from an SuccessFactors Odata API into HANA Cloud on BTP using NodeJS services in an SAP CAP project. However after we updated some of the libraries like "@sap/cds", "@sap/hdi-deploy" using "npm audit fix", the persistence of LargeBinary object is failing with:
Error: Cannot set parameter at row: 1. Wrong input for LOB type 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at next (/home/vcap/app/node_modules/hdb/lib/protocol/ExecuteTask.js:172:19) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at ExecuteTask.getParameters (/home/vcap/app/node_modules/hdb/lib/protocol/ExecuteTask.js:186:3) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at ExecuteTask.sendExecute (/home/vcap/app/node_modules/hdb/lib/protocol/ExecuteTask.js:193:8) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at execute (/home/vcap/app/node_modules/hdb/lib/protocol/ExecuteTask.js:73:10) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at ExecuteTask.run (/home/vcap/app/node_modules/hdb/lib/protocol/ExecuteTask.js:112:3) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at run (/home/vcap/app/node_modules/hdb/lib/util/Queue.js:96:12) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at next (/home/vcap/app/node_modules/hdb/lib/util/Queue.js:85:7) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at receive (/home/vcap/app/node_modules/hdb/lib/util/Queue.js:114:5) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at Connection.receive (/home/vcap/app/node_modules/hdb/lib/protocol/Connection.js:365:3) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at TLSSocket.ondata (/home/vcap/app/node_modules/hdb/lib/protocol/Connection.js:223:12) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at TLSSocket.emit (events.js:198:13) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at addChunk (_stream_readable.js:288:12) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at readableAddChunk (_stream_readable.js:269:11) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at TLSSocket.Readable.push (_stream_readable.js:224:10) 2021-05-10T09:03:59.205+0000 [APP/PROC/WEB/0] ERR at TLSWrap.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
The same code was working before the update. I am also attaching the response from SF api. Can you please help in identifying the issue?
Thanks & Regards,
Harish