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.
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
Extension pointers for integrating Zoho CRM with Zoho products #8: Upload and manage Zoho Workdrive folders and files from within Zoho CRM
Keeping records on your customers and business prospects is essential for tracking data, conducting follow-ups, and running a business smoothly. When you use two separate applications, and store relevant data in each, checking and tracking data becomes
Extension pointers: Handle cases with personalized solutions using custom actions
In our last post, we detailed the steps involved in creating a custom action and the workflow from the developer and end user's side. Now let's look at a working example of how we can create a custom action and implement it in a Zoho CRM account to make
Extension pointers - Simple yet significant pointers #13: On change of field value for CRM variables
CRM variables provide global access to a variable across an entire extension. They also help in the storage of user-specific data provided by the user at the time of installation, which can later be fetched to perform data functionalities. Additionally,
Extension pointers: Extend end-user benefits and allow personalization by implementing extensions with custom actions
From our earlier post on custom actions, we know that we can create templated actions, share them with end users, and allow them to reuse those actions to achieve personalized outcomes. In this post, we'll look at how custom actions make it easy for users
Extension pointers - Simple yet significant pointers #12: Functions for Zoho CRM extensions
Functions are essential in achieving logical functionality for an extension. You can easily code your functions in Deluge using drag-and-drop tools to meet your requirements. How to create functions for Zoho CRM extensions in Sigma Go to Sigma and select
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.