Retrieving Invoices via zoho.crm.getRecordById failing in a deluge function?
Hi,
While updating a deluge function in CRM (that creates a corresponding invoice in Books), to use OAuth, it looks like I'm getting { "status": "failure" } at the very start of the function (even the old, working code no longer appears to work).
The relevant code is:
respInvoice = zoho.crm.getRecordById("Invoices",invoiceId);
info respInvoice;
returns {"status":"failure"} with no additional information, and the APi documentation doesn't give any information on failures (https://
www.zoho.com/deluge/help/crm/get-record-by-id.html). Also, invoiceID is valid (I checked with an 'info invoiceId;' when running it to test
Anyone have any ideas here? Are there new OAuth requirements to this, even though I'm writing a deluge function in CRM to access zoho.crm?
Access your files securely from anywhere
Zoho Developer Community
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
-
-
-
-
-
-
-
-
-
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 Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.