- Joined
- Mar 25, 2019
- Messages
- 29
- Reaction score
- 3
Hi dear 3cx community,
I integrated zoho as crm in 3cx and I did everything according to this documentation:
https://www.3cx.com/docs/pbx-crm-integration-zoho/
But for some reason, the Test-Button as well as the live testing produces the same error.
It seems to be searching in the wrong fields, we don't use "Home_Phone" or "Other_phone".
I integrated zoho as crm in 3cx and I did everything according to this documentation:
https://www.3cx.com/docs/pbx-crm-integration-zoho/
But for some reason, the Test-Button as well as the live testing produces the same error.
Server returned a non successful status code - HTTPStatusCode=BadRequest - Reason= - Content={"code":"INVALID_QUERY","details":{"reason":"the field is not available for search","api_name":"Home_Phone"},"message":"invalid query formed","status":"error"}
2023/01/24 12:17:23.789|1864|0066|Verb|CRM: Performing GET request 'https://www.zohoapis.eu/crm/v2.1/Contacts/search?criteria=((Phone:equals:xxxxx) or (Mobile:equals:xxxxxx) or (Home_Phone:equals:xxxxx) or (Other_Phone:equals:xxxxxx) or (Fax:equals:xxxxxx))&fields=Account_Name,id,First_Name,Last_Name,Phone,Mobile,Home_Phone,Asst_Phone,Other_Phone,Email,Fax'.
2023/01/24 12:17:24.210|1864|0075|Erro|CRM: Exception executing contact lookup for number 'xxxxxxx': System.Exception: Server returned a non successful status code - HTTPStatusCode=BadRequest - Reason= - Content={"code":"INVALID_QUERY","details":{"reason":"the field is not available for search","api_name":"Fax"},"message":"invalid query formed","status":"error"}
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.GetContactInfoFromCrm(List`1 result, IEnumerable`1 scenariosToProcess, IValueManager customManager, Func`2 filterResultsFunctor, Func`1 createContactRecordFunctor, CancellationToken token)
at CrmIntegration.CrmProcessor.GetContactInfo(String contactNumber, InteractionTypes interactionType, CancellationToken token)
2023/01/24 12:17:24.211|1864|0075|Verb|CRM: Removed from processing. Number=xxxxxxxx
2023/01/24 12:17:24.211|1864|0075|Info|CRM: processing of xxxxxx has been finished
It seems to be searching in the wrong fields, we don't use "Home_Phone" or "Other_phone".
