Connector working as expected but not when called from an extension

Connector working as expected but not when called from an extension

I am playing around with building a Zoho CRM extension and seeing if anyone has some insight on the below issue I am facing.

When I execute the Connector API it works as expected returning me the download URL for a merged document that has merged successfully.



However when I call it from within the extension from a deluge function, I am getting a different response saying that a parameter is missing when calling the API. The latest connector version is published and the associated connector has been updated to the same version available to the extension.

Are some Zoho API's not able to be called from a Zoho Connector?

Code Snippet:
  1. mergeDocumentParametersMap = Map();
  2. mergeDocumentParametersMap.put("templateId",mergeTemplateId);
  3. mergeDocumentParametersMap.put("output_format","pdf");
  4. mergeDocumentParametersMap.put("merge_data",{"data":mergeData});
  5. info mergeDocumentParametersMap;
  6. mergeDocumentResponse = zoho.crm.invokeConnector("testextension.testextensionconnector.mergedocument",mergeDocumentParametersMap);
  7. info mergeDocumentResponse;
mergeDocumentParametersMap:

{
"templateId": "c3aqzb3c7f15d015a4705bd691aa36b3eff0e",
"output_format": "pdf",
"merge_data": {
"data": {
"Deal_Name": "Benton",
"Amount": 250000
}
}
}

mergeDocumentResponse: 

{
"status_code": 400,
"response": {
"error": {
"parameter_name": "output_format",
"message": "You seem to be missing a mandatory parameter that's required to perform this action.",
"response_generated_time": 1705168143560,
"documentation_url": "https: //www.zoho.com/writer/help/api/v1/general-errors.html",
"errorcode": "R2009"
}
}
}

    Access your files securely from anywhere



                  Zoho Developer Community




                                          • Desk Community Learning Series


                                          • Digest


                                          • Functions


                                          • Meetups


                                          • Kbase


                                          • Resources


                                          • Glossary


                                          • Desk Marketplace


                                          • MVP Corner


                                          • Word of the Day


                                          • Ask the Experts



                                                    • Sticky Posts

                                                    • Introducing Kanban Board Extension for Zoho CRM

                                                      Zoho CRM has been helping you with your business in many ways. The foundation of it all is that it is keeping all your data well organized and maintained. It makes work easier for you but what if that was not all.  Yes! That is not all; we now provide the Kanban Board extension that provides a visual management for your CRM data. It is a great way to view all the records segregated the way you want to see them. Be it based on deal status, lead pipeline stage, or campaign type or any other pick list
                                                    • Here's what you can do with your DocuSign Extension

                                                      Contracts, agreements, and other documents have always been an integral, concluding part of any sales process. With the free DocuSign Extension for Zoho CRM, we've made certain that your signing process is entirely digital, and there is no need for copies,
                                                    • Contact Info Extractor Chrome plugin

                                                      Just trying out the Contact Info Extractor plugin and had a quick observation.  Since a target website for this plugin would be LinkedIn, I'm very surprised that the plugin cannot determine that if the selected text in question includes... Joe Smith Vice President at ABC Corporation ... the plugin can recognize the name and title but not the company.  I'd assume that the term "at" would give it the needed clue but on several contacts I tried to add, it's just not catching it. Would love to see the
                                                    • Easily send documents from Egnyte to your leads in Zoho CRM

                                                      Understanding your customers and educating them about your product are two sides of the same sales coin. During a sales process, to educate your potentials about your product, you may have to send them user guides, help documents, comparison sheets, and
                                                    • Empower Your Sales Team with Email Marketing Insights Using the Mailchimp Extension

                                                      Email marketing is one of the most powerful tools available for engaging leads. It’s low cost and high ROI makes it a top choice for marketers who want to establish contact with leads. But these leads can only be turned into actionable deals when pursued


                                                    Manage your brands on social media



                                                          Zoho TeamInbox Resources



                                                              Zoho CRM Plus Resources

                                                                Zoho Books Resources


                                                                  Zoho Subscriptions Resources

                                                                    Zoho Projects Resources


                                                                      Zoho Sprints Resources


                                                                        Qntrl Resources


                                                                          Zoho Creator Resources



                                                                              Zoho CRM Resources

                                                                              • CRM Community Learning Series

                                                                                CRM Community Learning Series


                                                                              • Kaizen

                                                                                Kaizen

                                                                              • Functions

                                                                                Functions

                                                                              • Meetups

                                                                                Meetups

                                                                              • Kbase

                                                                                Kbase

                                                                              • Resources

                                                                                Resources

                                                                              • Digest

                                                                                Digest

                                                                              • CRM Marketplace

                                                                                CRM Marketplace

                                                                              • MVP Corner

                                                                                MVP Corner





                                                                                  Design. Discuss. Deliver.

                                                                                  Create visually engaging stories with Zoho Show.

                                                                                  Get Started Now


                                                                                    Zoho Show Resources


                                                                                      Zoho Writer Writer

                                                                                      Get Started. Write Away!

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

                                                                                        Zoho CRM コンテンツ








                                                                                          Nederlandse Hulpbronnen


                                                                                              ご検討中の方




                                                                                                    • Recent Topics

                                                                                                    • Formatting Mailing Labels

                                                                                                      I want to use the "Print Mailing Labels" function on the drop down list, but I am not seeing a way to change the formatting on the mailing labels. At the moment, the information that appears on the mailing labels ARE NOT mailing addresses, but random information.  I would also like to change be able to change the size of the labels.  At the very least I would like to know what type of labels I can get that would be the correct size.  
                                                                                                    • Zoho Creator delete validation seems like does not support <br> html code

                                                                                                      Validation Workflow in Create or Edit, We can use this styling code eg: <br>, <b>, <u> Those very simple code in those validation (in Create or Edit) But, for Validation (In Delete) Zoho Creator seems like does not support it. The alert task just shown
                                                                                                    • Can't create Workflow for Module 'Service Appointments'

                                                                                                      Hey everyone. I am trying to create a workflow from FSM to Desk. When I start the creation process I select the Module (Service Appointments) and then title it and hit next and it just sits there. Now If I select a different module it works fine. Have
                                                                                                    • CRM x WorkDrive: File storage for new CRM signups is now powered by WorkDrive

                                                                                                      Availability Editions: All DCs: All Release plan: Released for new signups in all DCs. It will be enabled for existing users in a phased manner in the upcoming months. Help documentation: Documents in Zoho CRM Manage folders in Documents tab Manage files
                                                                                                    • Tags with Zapier

                                                                                                      Maybe I'm missing something....I hope so... Using tags for triggers is a key need.  This prevents us from having a ton of different lists. I am trying to find out how to add a tag using zapier when someone makes a purchase....but it doesn't seem to be
                                                                                                    • Zoho Sheets working offline

                                                                                                      Hi, I am looking for the ability to work offline in Zoho Sheets, but currently I cannot find the process to complete this. Does someone have any ideas or steps I might have missed? Also does Zoho Sheets have the "Format as Tables" function as is currently
                                                                                                    • Free Webinar Alert! Building Your Brand: Solopreneur Tips to Use Zoho Mail

                                                                                                      Hello Zoho Mail Community! We’re excited to invite you to an exclusive session: "Building Your Brand: Solopreneur Tips to Use Zoho Mail." In this webinar, we’ll explore how Zoho Mail helps solopreneurs create a professional brand with custom email domains,
                                                                                                    • ZOHO Mail required to use CRM Mail Merge?

                                                                                                      Is ZOHO Mail required to use CRM Mail Merge?
                                                                                                    • How can I create a deal with multiple payment milestones in Zoho CRM?

                                                                                                      Hi. We are a services based company and most of our deals involve monthly invoicing for T&M work or payment milestones for fixed price projects. How can I create a Deal in CRM that shows monthly (or multiple) payment milestones, rather than just the total
                                                                                                    • Client scripts for Zoho Books ?

                                                                                                      Good day everyone, I am looking for a way to be able to interact with the Quotes and Invoices as they are being created. Think of it like Zoho client script in Zoho CRM. But for the life of me I dont see a way to do this. The issue with having function
                                                                                                    • View and manage your records in Calls, Events, Tasks, Contacts, and Accounts with Table View

                                                                                                      Hello everyone, So far, Table View was available for the Tickets module; now, we have included it for the following modules as well: Calls Events Tasks Contacts Accounts Managing customer interactions and activities often requires navigating through multiple
                                                                                                    • Contacts are imported successfully but ignored when I send a campaign (due to non-marketing type)

                                                                                                      Can someone please help, When we sent a campaign yesterday, we received the following message: "The number of contacts from the selected mailing lists are 161. We have ignored 11 contacts due to its non-marketing type." So only 150 people got the message.
                                                                                                    • Zoho Books | Product updates | March 2025

                                                                                                      Hello users, We have rolled out new updates in Zoho Books to enhance your accounting experience. These include the ability to create workflow rules for manual journals and Multi-Factor Authentication (MFA) for customer and vendor portals. Explore these
                                                                                                    • Spell Checker in Zoho desk

                                                                                                      Is there a way to set always check spelling before sending? Outlook does this and it is a handy tool to avoid typos
                                                                                                    • Zoho Creator not accounting for time change

                                                                                                      I have the timezone to my Creator application set to Eastern Standard Time(SystemV/EST5EDT). This is under the GMT -5:00 category. I was under the assumption that since EDT was present in the time setting that my application would switch automatically
                                                                                                    • How to add Line Breaks for Task Description with API v3

                                                                                                      How do we add line breaks to the Description field of a Task using API v3? https://projects.zoho.com/api-docs#tasks#create-a-task Previously I was using "<br>" with the old API. When I use that with v3, it just prints "<br>" as text instead of adding
                                                                                                    • It would be very helpful to be able to use variables in the formula columns

                                                                                                      Currently, variables can be used only in aggregated formulas. It would be great to be able to use them in regular formulas as well
                                                                                                    • Display name in Zoho Desk Ticketing system

                                                                                                      We are in the trial phase to implement a Ticketing system. As our company uses several generic emails, such as service@abc.com and service@xyz.com across different branches, the uniqueness of usernames (full names) becomes crucial for our business. Without
                                                                                                    • Create a new module with first name & last name, and join the two when viewing records

                                                                                                      I've created a new module, and I have first name / last name fields (I've renamed the record name field as last name). When I'm viewing a record, I'd like to see "Bob Smith" at the top of the page and in lists, not just "Smith" as I have today - basically the same experience you get when editing / viewing leads in the leads module.
                                                                                                    • Announcing the all-new Offers Module and Offer Approvals in Zoho Recruit

                                                                                                      We're happy to introduce - Offers as a module. As we all know, Zoho Recruit is a powerful Applicant Tracking System that can help us. One of its key features is the ability to generate and approve offer letters. When a candidate is the right fit for a
                                                                                                    • Extract first and last name

                                                                                                      I am trying to build a custom function in Flow, when a new Zoho Booking is added I want to split the Name field into first last name. I understand the function needs to be a string and this works but I am unsure how to write this in the flow script. result
                                                                                                    • Desk Contact Name > split to First and Last name

                                                                                                      I am new to Zoho and while setting up the Desk and Help Center, I saw that new tickets created or submitted from the Help Center used the Contact Name field. This would create a new Contact but put the person's name in the Last Name field only. The First
                                                                                                    • I have a problem which is that the posts are not published

                                                                                                      I have a problem, which is that posts are not published. Since yesterday, I have tried more than 50 separate posts without any new information.
                                                                                                    • Uploads in creator app

                                                                                                      So I have a file upload in the app, I can upload the file to it easily, but can't then download that file, there appears to be no option to?
                                                                                                    • NOW Zoho Creator still cannot bulk download Image or File Upload Field

                                                                                                      The filedownloader has been deprecated for 5 years. Until now, we still cannot have a replacement tool. How can we bulk download the file that we uploaded to Zoho Creator. Previously, it was so simple to bulk download all those files. But now failed to
                                                                                                    • Introducing Linkthread by Zoho Social — our new link in bio tool

                                                                                                      Hey everyone, We hope you're all doing amazing. We always love bringing features and tools to make your social media marketing journey easier, and today, we've got a brand new tool that we'd like to introduce to you. We know how important it is to make
                                                                                                    • Client Script | Update - Introducing Subform Events and Actions

                                                                                                      Are you making the most of your subforms in Zoho CRM? Do you wish you could automate subform interactions and enhance user experience effortlessly? What if you had Client APIs and events specifically designed for subforms? We are thrilled to introduce
                                                                                                    • Ayuda: Cómo Integrar / configurar el Facebook API de conversiones con Zoho Sites

                                                                                                      Buenas tardes foro, no sé si ya se ha respondido esta solicitud, soy un usuario de zoho con nulo conocimiento en códigos, programación y queria saber si existe un tutorial o un paso a paso de cómo Integrar / configurar el Facebook API de conversiones
                                                                                                    • Understanding "Deposit from Other Accounts" vs. "Sales Without Invoices"

                                                                                                      Hello, Zoho team! I am a new Zoho Books user trying to correctly input some historical financial data. I'm hoping you can help me understand best practices for when to use "Deposit from Other Accounts" vs. "Sales Without Invoices." I'm an author who receives
                                                                                                    • Update Client Record based on creation of custom module record

                                                                                                      Hi! Hoping for someone's help with this one. I have a custom module called 'Agreement History. Whenever a deal is won, it creates a new record in this module with associated 'Products' and 'Clients' to track rental history and contracts. What I'm trying
                                                                                                    • I can't auto-scheduling calls down - the code does not change anything

                                                                                                      Hi, I was trying to set a function that auto-schedules calls based on their call result; i.e "Requested more info". I had also included a reminder to send an email in the code. I logged a test call and nothing changed. Is there anything wrong with the
                                                                                                    • setting owner of note when adding via deluge

                                                                                                      My organization has requested the ability to mass update the notes related list in the deals module. Since this can't be done with the mass update feature, I created an update "notes single" line field and created a workflow rule that triggers a function
                                                                                                    • Enable History Tracking for Picklist Values Not Available

                                                                                                      When I create a custom picklist field in Deals, the "Enable History Tracking for Picklist Values" option is not available in the Edit Properties area of the picklist. When I create a picklist in any other Module, that option is available. Is there a specific reason why this isn't available for fields in the Deals Module?
                                                                                                    • Customize User Invites with Invitation Templates

                                                                                                      Invitation Templates help streamline the invitation process by allowing users to create customized email formats instead of sending a one-size-fits-all email. Different invitation templates can be created for portal users and client users to align with
                                                                                                    • Hundreds of folders or tags (for each client): best practices?

                                                                                                      I'm preparing to switch from Gmail Workspace where each of my clients has their own label, assigned automatically after I manually set it up when someone becomes a customer. I know that those labels can be converted into folders in Zoho Mail, resulting
                                                                                                    • Using Linkedin as 'Unique Identifier ' for Duplicate Management for Candidates and Contacts in Zoho Recruit

                                                                                                      Quick hats off to Zoho Recruit on the functionality of Unique Identifier ' for Duplicate Management for Candidates and Contacts in Zoho Recruit. I recently added the ability to manage duplicates based on Linkedin profile. Candidates' and Contacts' email
                                                                                                    • Merge Join PDFs Zoho Creator

                                                                                                      Hi all, I have a field where users upload PDF, is it possible to join those pdfs into one with a function or something? Regards.
                                                                                                    • Auto-sync field of lookup value

                                                                                                      This feature has been requested many times in the discussion Field of Lookup Announcement and this post aims to track it separately. At the moment the value of a 'field of lookup' is a snapshot but once the parent lookup field is updated the values diverge.
                                                                                                    • Merge field support in Field Update

                                                                                                      Hi,  We have a use case that requires values of certain custom fields in Deals to be copied back to corresponding custom fields in Contacts module whenever those fields are changed in Deals. The field update action on Workflow rules doesn't allow specifying
                                                                                                    • Improve Zia Data Foundation

                                                                                                      Hi, is it possible to manually improve Zia's CRM data foundation for companies? Zia tends to give data based on foreign companies but we only operate in the German market. Even if I specifically but the German company name and the URL to the german imprint
                                                                                                    • Next Page