Good day,
I receive the error message:
{"code":9043,"error_param":"Checked by","message":"Extra key found","status":"failure"} when running below code from creator to sign,
void TestForSign(int ID)
{
//Fetch Template Details (Optional, for dynamic mapping)
//template id in sign 519277000000078511
template_id = 519277000000078511;
actionMap = Map();
// Map for the first recipient User
recipientMap1 = Map();
//first recipient
recipientMap1.put("Checked by","L## ####-check");
// Get name from Creator form field
recipientMap1.put("Check by email","#######);
// Get email from Creator form field
recipientMap1.put("action_type","SIGN");
// Recipient needs to sign
recipientMap1.put("role","Checked by");
// The role name specified in the template
recipientMap1.put("action_id","519277000000078532");
// The ID from getTemplateById or the template settings
//second recipient
recipientMap2 = Map();
recipientMap2.put("User name","L####r");
// Get name from Creator form field
recipientMap2.put("User email","######");
// Get email from Creator form field
recipientMap2.put("action_type","SIGN");
// Recipient needs to sign
recipientMap2.put("role","User");
// The role name specified in the template
recipientMap2.put("action_id","519277000000078534");
recipientList = List();
recipientList.add(recipientMap1);
recipientList.add(recipientMap2);
// The ID from getTemplateById or the template settings
// Optional: Add pre-fill field data if you have pre-fill text fields in your template
field_text_data = Map();
field_text_data.put("Memory",1234567);
//Put field data in a Map
actionMap.put("field_data",{"field_text_data":field_text_data});
actionMap.put("actions",recipientList);
// Main map for the signature request data
submitMap = Map();
submitMap.put("templates",actionMap);
parametes = Map();
parametes.put("is_quicksend","true");
parametes.put("data",submitMap);
// Send the document using the template
response = zoho.sign.createUsingTemplate(519277000000078511,parametes);
info response;
}