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:
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.