Zoho Contract Update Error

Zoho Contract Update Error

Hello Team

I am trying to update a contract Using Zoho Contract Update API, But I am getting an error if anyone has any idea, Please share.

I am sharing the sample code and Error

Sample Zoho Contract Update Code

  1. //........Contract Get Data
  2. ContractData = invokeurl
  3. [
  4. url :"https://contracts.zoho.com/api/v1/contracts/222"
  5. type :GET
  6. connection:"zohocontract"
  7. ];
  8. updatemap = Map();
  9. updatemap.put("source",5);
  10. //...........Update Contract..........
  11. finalList = List();
  12. firstmap = Map();
  13. firstmap.put("metaApiName","isRenewable");
  14. secondmapList = List();
  15. secondmap = Map();
  16. secondmap.put("inputApiName","isRenewable");
  17. secondmap.put("inputValue","true");
  18. secondmapList.add(secondmap);
  19. firstmap.put("inputs",secondmapList);
  20. finalList.add(firstmap);
  21. ///..........................................
  22. updatemap.put("inputfields",finalList);
  23. UpdateContact = invokeurl
  24. [
  25. url :"https://contracts.zoho.com/api/v1/contracts/222"
  26. type :PUT
  27. parameters:updatemap.toString()
  28. connection:"zohocontract"
  29. ];
  30. info UpdateContact;
Error Message:-

  • {"Errors":{"ErrorCode":"ZSEC-PATTERN_NOT_MATCHED","ErrorMessage":"Sorry, unable to complete your action due to an unknown error. Please try again.","APIErrorMessage":"PATTERN_NOT_MATCHED"}}
Thank & Regards
Piyush Goyal



      • Sticky Posts

      • 11 Common API Errors and How to Prevent Them

        Zoho Contracts offers an extensive set of APIs using which you can integrate with your applications and build custom solutions. However, while using them and executing your code, you might face some errors. The reason might be due to any of the following
      • Organization Parameter in API Calls

        Zoho Contracts now supports the multi-org feature where users can be part of multiple organizations. You can now manage contracts across multiple organizations with separate Zoho Contracts accounts for each organization. Users who are part of multiple
      • Zoho Contracts API Documentation

        Greetings! The API documentation of Zoho Contracts is now available. Please access it from the below link. https://www.zoho.com/contracts/api/introduction.html You can post your queries and problems relating to Zoho Contracts API in this developer forum.

        • Recent Topics

        • Export multiple Invoice PDF

          As part of end of year accounting a client needs to export all of their Invoices in PDF from Zoho CRM. Do they need to click into every single Invoice and click the Export to PDF button. Is there a means of either doing a mass Export to PDF of all Invoices
        • How to create Sepa Direct Debit XML file: solution and code

          Even though Books provides a payment integration for Stripe and Gocardless (in Europe) there are customers that want to use the Sepa services of their own bank. Mainly because Stripe and Gocardless are quite expensive. In that case they would need a Sepa
        • Introducing 'Dynamic display' in the latest version of the Bigin Android mobile app.

          Hello everyone! In the latest version of the Bigin Mobile Android app (1.6.0), we have introduced support for Dynamic Display, which transforms the List View into a powerful and customizable visual interface. Dynamic Display: This feature allows users
        • CRM - Copy data from Single Line to Lookup Field

          Hello, I need help to create a workflow with a custom function in order to copy value from a single value field to a Lookup Field. Module : Shipment Single value field API name : Customer_ID Lookup field API name : Account_ID WOuld be great to have some
        • How to Parse XML Data Returned by API?

          I have several APIs integrated with my CRM and they work great. I am having some trouble though parsing data out of a large string/array in Funtions? I need to be able to pull the DeviceId and the WebSiteDeviceName from each PanelDevice. I would appreciate
        • Unable to add organization consultants and contractors in Zoho People

          Hello Team: I am unable to add my few consultants and contractors in Zoho People. How to add these people as Users?
        • Why can't I see the delivered Zoho Campaign automation email on Zoho CRM lead record?

          I recently did update the field mapping on our Leads sync services between Zoho CRM and Zoho Campaigns. The end goal is to create tailored email drip campaigns with the use of segments and automation. I understand you can build cadences, email templates,
        • Why can't I see the email from Zoho Campaigns Automation under Zoho CRM Leads module?

          I recently did update the field mapping on our Leads sync services between Zoho CRM and Zoho Campaigns. The end goal is to create tailored email drip campaigns with the use of segments and automation. I understand you can build cadences, email templates,
        • Linkedin - Recruiter System Connect

          Hi there! Does anyone here know how to connect Zoho Recruit to Linkedin Recruiter via Recruiter System Connect?
        • Lead Owner not importing all users only main user

          I have set up 3 users, 1 CEO, 2 Managers, all users have been verified. I'm using the Free ZOHO version. When I go to import Leads my Excel file has these 3 users listed as the Lead Owner. However when the import completes only 1 user is displayed as
        • Custom Function to Format Phone / Mobile numbers in Australian Standard format

          So I got sick of phone numbers being formatted incorrectly and Zoho not doing anything to standardise phone numbers to meet E.164 formats. So I went and coded my own function to fix this. And figured I'd share with the community This is specifically for
        • Getting Data into zoho calendar from a creator app

          So how do you get a date that's created in an app, for example when a site visit is due, into the zoho calendar for the field engineers.
        • Create deal from estimate

          Hello, I have integrated CRM and books. I created an estimate on CRM but I would like to allocate that estimate to a deal with the contact. How can I do this please?
        • Lookup field, odd issue

          So I tried creating and app that has the names of engineers so I can use that for a lookup in the other apps that are being created . I add the look up in a new app, launch the app and when I try to fill out the form its just blank in the drop down menu
        • Linkedin Plugin

          H, Is there a plugin to allow the connection to LinkedIn and simplify editing? I've looked at a few, but they all seem to be outdated and not working... What do you use or can you recommend?
        • Custom module - change from autonumber to name

          I fear I know the answer to this already, but thought I'd ask the question. I created a custom module and instead of having a name as being the primary field, I changed it to an auto-number. I didn't realise that all searches would only show this reference.
        • Automating leave alerts in Zoho Cliq

          The constant ebb and flow of employee absences can disrupt projects and hinder productivity. With Zoho Cliq's leave alert automation, you can easily keep your team informed. Real-time notifications can be sent to team chats, ensuring that everyone stays
        • 100 record view limitation

          I have just migrated from another CRM and am starting in ZOHOcrm with over 5000 contacts. It seems that my searches and sorts are limited to 100 live records....or am I missing something. This seems to be very limiting...in a lot of scenarios (mass email,
        • Remove the link between app admin roles and org admin privileges

          Greetings Zoho One Team, Currently, assigning someone as an admin in certain Zoho apps, such as Cliq, Connect, Mail, Vault, or Forms (and maybe other apps as well) automatically grants them org admin privileges, even though they are not listed as org
        • Strange pop up windows when sales order saving.

          Hi, May I ask what's the meaning of this pop up window. Our client script don't have this setting..
        • How to increase number of contacts shown in CRM Campaign ?

          Hello Everybody, I can't find a way of increase the number of contacts displayed per campaign. It is limited to 10 contacts which is very distressing when I need to update the status of several contacts. What a huge waste of time and energy Is there a
        • Add option "Avoid custom home pages" to profiles

          We need our sales agents and members on each department in general to keep the same Home designed by their Managers. Let all users to create custom home pages is a huge mistake. The homepage creation must be limited by profile so only Managers are allowed
        • Key Highlights of 2024: Recalling a Year of Progress and Advancements!

          As we step into 2025, we’re excited to share the progress and developments we’ve made to simplify and streamline your travel and expense management in the past year. Let’s take a look back at some of the key updates and enhancements that have helped us
        • Enhanced duplicate check for Leads in CRM

          Hello Everyone, We are excited to announce that you can now check for duplicate entries in leads by comparing them with similar records in the Contacts Module. Previously, when you added a lead, only the converted leads were checked for duplicates. This
        • No longer get Cliq notifications on phone if app not started

          On Android, I used to get notifications on my phone whether I was in the app, or it was started. Then about a month ago, I stopped seeing notifications on my phone UNLESS I had already started the app. So if I reboot my phone, and never start the app,
        • CUSTOMER RUNNING BALANCE WHILE PRINTING RETAIL INVOICE IN ZOHO BOOKS

          This is basic problem in zoho books where at the time of printing retail invoice, we can't add customer running balance. Kindly provide this feature as every other accounting software has customer credit balance option at the time of invoice printin
        • PRICE INCLUSIVE OR EXCLUSIVE IN ITEM MASTER CHECK BOX

          please provide checkbox or tick box to specify price mentioned in item master is inclusive or exclusive of taxes for better information. The feature is available in odoo and its very helpful.
        • MORE BUGS: Client Script, Deluge and Widget JS SDK don't work as expected when trying to retrieve a record that has been "rejected" as part of an approval process.

          Client Script $Page.record is null when accessing a record that has been "rejected" as part of an approval process. Deluge zoho.crm.getRecordById(moduleName, recordId) returns {"status":"failure"} when recordId is a valid, but rejected record. OK... I
        • Mandatory verification of custom domains in portal

          Hello all, Happy New Year! Wishing you a successful and fruitful year ahead. We are committed to ensuring a safe and secure experience for all users of Zoho Creator users. As part of this commitment, we regularly introduce updates to ensure our platform
        • Lost all my notes, help :(

          The thumbnails correctly preview the text, the file info correctly shows the amount of characters, but all of my notes just get stuck at this screen when I open them. :( ... I have so many projects in here, I don't know what to do, is there any way to
        • Zoho Calendar 2024: A Year in Review

          Hello, community members! Happy new year from all of us here at Zoho Calendar. As we turn the page to a new year, we extend our heartfelt gratitude to every member of our Zoho Calendar community for your continued support and enthusiasm. Your feedback
        • How manage to hardware and software contracts.

          So I have been tasked with setting up on crm a way of managing our software and hardware contracts. with a filter switch, so if they are no longer on say a hardware contract but still on a software, we would like the history about the hardware contract
        • Function #4: Schedule Customer Statements

          Regularly sending statements to customers is an imperative part of many business processes as it helps foster strong customer relationships and provides timely guidance on payments. While you can generate the statement of accounts and have it sent over
        • Automation#27: Retain Ticket Owner on Moved Tickets

          Hello Everyone! This week, we present to you a custom function that retains the ticket owner when a ticket is moved from one department to another. Here’s more to help you understand the custom function: At Zylker Techfix, Alex, the Support Engineer manages
        • CASE Module - email function

          HI there, I dont know if this has been asked or answered before as i couldnt find it on the forums. Issue: when a new case is raised, it goes under case tab and everything is captured. Then how do i send emails to the client who raised case with the details
        • Zoho CRM Workflow Merge Tag For a File Upload

          Hello, is there anyway to add a merge tag for a file upload field in Zoho CRM Workflow emails? I don't see it as an option in the drop down. Thanks, Hannah Moderation Update: I'm locking this post as a similar discussion is ongoing in the thread linked
        • Custom function daily limit and procedural programming

          Dearest Zoho Today, support confirmed that if I call a custom function from another custom function then I will use up two, with regards to my daily limit. A few times, we have blown our daily limit and that means that ordinary business processes don't
        • Lookup field - Can I avoid using advanced search?

          I have a lookup field in my app that has surpassed 500,000 records, now basic search is disabled and I'm forced to use advanced search. That adds multiple steps to what used to be very simple. Before: Select field > Type last digits of product code and
        • Zoho Flow reads record Tag as number instead of text string. How do I change it?

          I have experience with flow and have a number of them working. This flow is supposed to add a record in a custom module when a Contact record is edited or created with a specific tag. Trigger criteria is "Tag contains 'Athlete' ". However, the flow does
        • Calendar Overflow in Open URL popup

          Hi everyone, When Opening a form which has a date field in openurl popup, this happens. Is there any way I can change the calendar width and height or is there any other possible way this can be changed? Thanks.
        • Next Page