Please Help - 3cx Salesforce TEST

Status
Not open for further replies.

lyza12

Customer
Joined
Feb 17, 2020
Messages
1
Reaction score
0
Hi,

I had successfully integrated salesforce with 3cx last year.
Any outbound or inbound call would automatically be shown once i would search the customer


I had to change my password recently and the security key etc changed.
I have updated everything just like before. Nothing but my password and security key changed in salesforce

as i TEST the CRM integration with the updated password and key i this :

Server returned a non successful status code - HTTPStatusCode=BadRequest - Reason=Bad Request - Content=[{"message":"search term must be longer than one character: 2","errorCode":"INVALID_SEARCH"}]

Response text: {"access_token":"00D7F000005myPZ!ARYAQNzQGMA9e6P3wrXGLI9yyz08KSMVhqU_DBlPG4gSn18nvbZE26xBEZI2ATBD.oq6_0sNgjM_gsTQtkcZ65wdWymvSY5t","instance_url":"https://solarred.my.salesforce.com","id":"https://login.salesforce.com/id/00D7F000005myPZUAY/0057F000002Z2ppQAC","token_type":"Bearer","issued_at":"1581905716073","signature":"1Ud+17x/rpyyVxB1ptthhJJthMvGinXo5FNnMNgN6Z4="}
Response finished
Variable Url set to https://solarred.my.salesforce.com
Variable AccessToken set to 00D7F000005myPZ!ARYAQNzQGMA9e6P3wrXGLI9yyz08KSMVhqU_DBlPG4gSn18nvbZE26xBEZI2ATBD.oq6_0sNgjM_gsTQtkcZ65wdWymvSY5t
Finished Auth
Request text: https://solarred.my.salesforce.com/services/data/v37.0/search/?q=FIND {2} IN PHONE FIELDS RETURNING Lead(Id,FirstName,LastName,Fax,MobilePhone,Phone,Email,Company)
System.Exception: Server returned a non successful status code - HTTPStatusCode=BadRequest - Reason=Bad Request - Content=[{"message":"search term must be longer than one character: 2","errorCode":"INVALID_SEARCH"}]
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(String contactNumber, String destinationEmail, Boolean createIfNotFound, CancellationToken token)
 
FIND {2} IN PHONE FIELDS RETURNING Lead(Id,FirstName,LastName,Fax,MobilePhone,Phone,Email,Company)
This is the problem, the query is sending only the number "2". The query needs to send 4 or 7 digits. What number are you using for testing?
 
Status
Not open for further replies.

Forum statistics

Threads
112,148
Messages
590,962
Members
165,168
Latest member
Stephan Eusebe