Cant update image field after uploading image to ZFS

Cant update image field after uploading image to ZFS

Hello i recently made an application in zoho creator for customer service where customers could upload their complaints every field has been mapped from creator into crm and works fine except for the image upload field i have tried every method to make the field work but have failed the api also states that File_Id__s has to be passed but so far it has failed for both files and images only file_id has produced satisfactory results any help is appreciated
thank you 

for each Complaint in Complaints { m = Map(); m.put("Name", "N"); image = invokeurl [ url :"https://creator.zoho.com" + Complaint.get("Image") type :GET connection:"creator" ]; info image; image.setParamName("file"); // upload uploadimg = invokeurl [ url :"https://www.zohoapis.com/crm/v8/files" type :POST files:image connection:"crm" ]; lead = zoho.crm.createRecord("Complaints",m); info lead; leadId = lead.get("id"); imgId = uploadimg.get("data").get(0).get("details").get("id"); mmp = Map(); mmp.put("file_id",imgId); flist = list(); flist.add(mmp); mp = Map(); mp.put("Image",file); info mp; update = zoho.crm.updateRecord("Complaints",leadId,mp); info update;
    • Sticky Posts

    • Kaizen #226: Using ZRC in Client Script

      Hello everyone! Welcome to another week of Kaizen. In today's post, lets see what is ZRC (Zoho Request Client) and how we can use ZRC methods in Client Script to get inputs from a Salesperson and update the Lead status with a single button click. In this
    • Kaizen #222 - Client Script Support for Notes Related List

      Hello everyone! Welcome to another week of Kaizen. The final Kaizen post of the year 2025 is here! With the new Client Script support for the Notes Related List, you can validate, enrich, and manage notes across modules. In this post, we’ll explore how
    • Kaizen #217 - Actions APIs : Tasks

      Welcome to another week of Kaizen! In last week's post we discussed Email Notifications APIs which act as the link between your Workflow automations and you. We have discussed how Zylker Cloud Services uses Email Notifications API in their custom dashboard.
    • Kaizen #216 - Actions APIs : Email Notifications

      Welcome to another week of Kaizen! For the last three weeks, we have been discussing Zylker's workflows. We successfully updated a dormant workflow, built a new one from the ground up and more. But our work is not finished—these automated processes are
    • Kaizen #152 - Client Script Support for the new Canvas Record Forms

      Hello everyone! Have you ever wanted to trigger actions on click of a canvas button, icon, or text mandatory forms in Create/Edit and Clone Pages? Have you ever wanted to control how elements behave on the new Canvas Record Forms? This can be achieved