Retrieving Invoices via zoho.crm.getRecordById failing in a deluge function?

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?





    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方