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"
}
}
}


      • 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