Integration with Zoho crm

Status
Not open for further replies.

tartpion

Forum User
Joined
Feb 19, 2019
Messages
6
Reaction score
1
Hello,

We have setup an integration between 3CX and Zoho. When we click on TEST, it works fine if the phone number already exists in Zoho.

When we enter a number which does not exist, we get the error message : Unknown expression: Name. Part: Name

detailed error is

.
Started CreateContactRecord
Request text: https://www.zohoapis.eu/crm/v2/Leads
System.Exception: Unknown expression: Name. Part: Name.
at TcxLexicalParser.ValueManager.GetByPath(String[] path)
at TcxLexicalParser.LexEvaluator.ProcessInt(ConcatElement concatElement, IValueManager valueManager, Boolean isFunctionArgument)
at CrmIntegration.EscapedExpressionEvaluator.ParseExpression(String expression, Boolean asExpression, IValueManager customManager)
at CrmIntegration.CrmIntegrationTemplateExtensions.Evaluate(RequestValue value, ProcessingContext context, IValueManager customManager)
at CrmIntegration.ScenarioProcessorBase.CreateJsonFromPostValues(RequestItem requestItem, IValueManager customManager)
at CrmIntegration.ScenarioProcessorBase.CreateJsonFromPostValues(RequestItem requestItem, IValueManager customManager)
at CrmIntegration.ScenarioProcessorBase.CreateJsonFromPostValues(RequestItem requestItem, IValueManager customManager)
at CrmIntegration.ScenarioProcessorBase.ProcessRequest(ScenarioRequest request, IValueManager customManager, HttpClient client, CancellationToken token)
at CrmIntegration.ScenarioProcessorBase.ProcessScenario(ProtocolScenario scenario, IValueManager customManager, CancellationToken token)
at CrmIntegration.ScenarioProcessorBase.Execute(ProtocolScenario scenario, CancellationToken token)
at CrmIntegration.CrmProcessor.CreateContactRecord(String contactNumber, String destinationEmail, CancellationToken token)

Many Thanks for your help
 
How are you configuring the contact creation part in the 3CX Console > Settings > CRM Integration? What values are you setting for the default name to create?
 
Thanks for your help

here is my configuration
11739
 
The problem is in the "New Contact First Name". That [Name] there is considered a variable, and this variable doesn't exist. So change that to remove the brackets, and it will work.
 
  • Like
Reactions: edossantos
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,842
Messages
589,320
Members
164,677
Latest member
skander