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: