Issue with zoho.bigin.updateRecord function

Issue with zoho.bigin.updateRecord function


Hi ,

By using this snippet to update deal status,

  1. //Delete-Update status existing Deal before creating a new (to avoid duplicate) ***
    info "isEmpy : " + resp0.isEmpty();
    if(resp0.isEmpty() == false)
    {
        dealId = resp0.getJson("data").getJson("id");
        record = Map();
        record.put("Stage","Canceled");
        option = Map();
        option.put("trigger","");
        response = zoho.bigin.updateRecord("Deals",dealId,record,option,"webhookentrant__zoauthconnection");
        info "dealId : " + dealId;
        info "record : " + record;
        info "option : " + option;
        info "response : " + response;

I obtain an invalid url pattern error



I dont understand what is wrong with zoho.bigin.updateRecord request.
Any help would be appreciated.