Error Code 14 using Function in Zoho Flow
When I try to run the below function I get an error message:
zoho code": 14, "message": "The request could not be authenticated as the authentication value you entered is invalid. Enter a valid authentication value and try again
Text of function:
- string getSalesPersonID(String orgID, String name)
{
salesPersonID = "";
response = zoho.books.getRecords("salespersons",orgID);
info response;
response = response.get("data");
for each salesPerson in response
{
if(name.matches(salesPerson.get('salesperson_name')))
{
info salesPerson;
salesPersonID = salesPerson.get('salesperson_id');
return salesPersonID;
}
}
return salesPersonID;
}
I'm not sure if this matters but I don't see any Active Authokens:
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.