Cannot pass image url from flow to people in custom function
I receive this error each time I try to pass the Image URL to an image field in Zoho people via this custom fucntion:
CUSTOM FUNCTION (hidden Image URL in post here):
- string test_vishal(string test_input)
{
file_object = invokeurl
[
url :"https://xxxxxxx.com/rdex-security-services-nj-logo.png"
type :GET
];
param_map = Map();
param_map.put("Drivers_License_Photo","file_object");
param_map.put("recordid","669115000000223001");
response = zoho.people.update("employee",param_map);
return response.toString();
}
ERROR:
{
"response": {
"message": "Error occurred",
"uri": "/api/forms/json/employee/updateRecord",
"errors": {
"code": 7400,
"message": "Sorry! Server error occurred."
},
"status": 1
}
}
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.