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
}
}
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.