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

      • 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, fax, delivery services or postage.   Here are some of the features of our free DocuSign Extension:   Not just PDF Converting your agreements to PDF, and re-aligning them again is not an ideal use of your time. The DocuSign Extension makes it possible
      • 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 white papers. During negotiation, price quotes and invoice documents might also be sent. While the whole lead-qualifying process can be updated in your CRM, sending and receiving the documents needs some extra help. Things can get cumbersome over
      • 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
      • Reasons to make your business efficient with DocuSign Extension.

        Using Digital signature is another step towards doing away with paper and incorporating eco-friendly ways. With Digital Transaction Management services like DocuSign businesses can easily go paperless to complete important transactions and get their documents digitally signed which is completely secure. Along with it, if a Customer Relationship Management software like Zoho manages all these documents, your business becomes more efficient. Both Zoho CRM and DocuSign, together can bring many benefits.