issue with zoho.bigin.attachFile function

issue with zoho.bigin.attachFile function

Hi ,

By using this snippet to attach a file to the deal,

  1. // to fetch file from the cloud using invokeUrl task
    fileVar = invokeurl
    [
        url :"https" + file
        type :GET
    ];
    //Upload an attachment ***
    resp3a = zoho.bigin.attachFile("Deals",dealId,fileVar,"webhookentrant__zoauthconnection");
    info "dealId : " + dealId;
    info "file : " + file;
    info "fileVar : " + fileVar;
    info "resp3a : " + resp3a;

I obtain an invalid url pattern error



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