code":9008,"error_param":"data","message":"data occurs less than minimum occurance of null"

code":9008,"error_param":"data","message":"data occurs less than minimum occurance of null"

Hi all

I've been getting the above error, but my code posts all the required data to the API. Any ideas?




header = Map();
header.put('Authorization',"Zoho-oauthtoken" + AccessToken);
Name = "Name";
today = today;
ClientName = "Company";
ClientEmail = "[redacted]";
header.put("is_quicksend",true);
templates = Map();
field_data = Map();
field_text_data = Map();
field_text_data.put("Payment Received","£250,000");
field_text_data.put("Company Fee %","10%");
field_text_data.put("Company Fee GBP","£25,000");
field_text_data.put("PaymentMinusFee","£220,000");
field_text_data.put("ClientBankName","TestBank");
field_text_data.put("ClientAcctSortCode","01-01-01");
field_text_data.put("ClientAccountNumber","12345678");
Approver = Map();
Approver.put("recipient_name","Signer 1");
Approver.put("recipient_email","l[redacted]");
Approver.put("action_id","[redacted]");
Approver.put("signing_order",1);
Approver.put("role","Approver");
Approver.put("verify_recipient",false);
Approver.put("private_notes"," ");
Signer = Map();
Signer.put("recipient_name","Signer");
Signer.put("recipient_email","[redacted]");
Signer.put("action_id","[redacted]");
Signer.put("signing_order",2);
Signer.put("role","Client");
Signer.put("verify_recipient",false);
Signer.put("private_notes"," ");
field_data = Map();
field_data.put("field_text_data",field_text_data);
field_data.put("field_boolean_data",null);
field_data.put("field_date_data",today);
field_data.put("field_radio_data",null);
templates.put("field_data",field_data);
Actions = list();
Actions.add(Approver);
Actions.add(Signer);
info "Actions: " + Actions;
templates.put("Actions",Actions);
templates.put("notes","Test Note");
data = Map();
data.put("templates",templates);
body = Map();
body.put(data);
info "Body: " + body;
response = invokeurl
[
url :NextURL
type :POST
parameters:body
headers:header
detailed:true
];
info response;
ZohoDocumentID = response.get("request_id");
info ZohoDocumentID;


      • Sticky Posts

      • Free webinar: The critical role of electronic signatures in HR

        Hello everyone, Businesses and organizations have started implementing electronic signatures across departments, and human resources is no exception. Employee and employer signatures are crucial in HR processes, as they serve as an acknowledgment of critical
      • Zoho Sign: Product updates - Mid - 2024

        Hello, everyone! We've crossed the halfway point in 2024, and here's what Zoho Sign has been up to lately. We've been part of several Zoho User Groups, and we've started creating video content for our developers. Along with this, we have once again been