CreateRecords works only on localhost

CreateRecords works only on localhost

Hi,

I have a problem with node-js sdk 2.0 and createRecords. Everything works well when creating records on dev but when the project is pushed to google cloud run it will give out this error:



If I remove that field it will let me create the record but it will fail on the next createRecord whenever there is a field that is not a normal text input field. Accepted type will tell me a different file path on each different createRecord instance I try. And what makes this weird is that it works perfectly when on localhost.

Here is the full crash log:

SDKException [Error]: {"field":"Sektori","class":"Record","accepted-type":"utils/util/choice","given-type":"String","index":0} at JSONConverter.valueChecker (/root/node/node_modules/@zohocrm/nodejs-sdk-2.0/utils/util/converter.js:159:10) at JSONConverter.isRecordRequest (/root/node/node_modules/@zohocrm/nodejs-sdk-2.0/utils/util/json_converter.js:367:20) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async JSONConverter.formRequest (/root/node/node_modules/@zohocrm/nodejs-sdk-2.0/utils/util/json_converter.js:52:21) at async JSONConverter.setJSONArray (/root/node/node_modules/@zohocrm/nodejs-sdk-2.0/utils/util/json_converter.js:476:22) at async JSONConverter.setData (/root/node/node_modules/@zohocrm/nodejs-sdk-2.0/utils/util/json_converter.js:390:12) at async JSONConverter.isNotRecordRequest (/root/node/node_modules/@zohocrm/nodejs-sdk-2.0/utils/util/json_converter.js:140:30) at async JSONConverter.formRequest (/root/node/node_modules/@zohocrm/nodejs-sdk-2.0/utils/util/json_converter.js:59:11) at async CommonAPIHandler.apiCall (/root/node/node_modules/@zohocrm/nodejs-sdk-2.0/routes/middlewares/common_api_handler.js:254:21) at async Function.createRecords (/root/node/zoho_functions/CreateOrg.js:56:20) {


Thank you in advance.