CRM Integration is working OK but contact number does not exist. Check log for more info or try a different number.

Status
Not open for further replies.

Nathan D

Customer
Joined
Aug 2, 2023
Messages
9
Reaction score
0
Hi,
I have configured suite-Crm integration, but I have the following error when I use the test function: CRM Integration is working OK but contact number does not exist. Check log for more info or try a different number. Please help
 
This means that 3CX is able to connect to your CRM through the API, but the CRM is not returning any result to the query. You will need to check the logs to understand why. The Logs tab in this dialog you use to test will let you see some of the details.
 
Is it possible that the format of the phone numbers is a problem? For example, these are all different phone numbers:

8016424655, (801) 642-4655, 8016424655 Ext 100, etc. Making sure your data is clean is important to get a successful match.
 
  • Like
Reactions: Evolute IT
Hi I have been able to sort the previous issue out Thanks @edossantos and @VoIPTools. However there is a new challenge. After uploading my xml file when an inbound call is made the browser pops up with an error message saying {"error":"access_denied","error_description":"The resource owner or authorization server denied the request.","hint":"The JWT string must have two dots","message":"The resource owner or authorization server denied the request."}. On further inspection of the logs of the server it shows that the Contact Url isn't authorized. Is there a way for me to send header for this url to be authorized???
 

Attachments

In order to add custom headers, add the <Headers> element inside the <Request> element. For example, this is taken from the Zendesk template:
XML:
      <Request Url="https://[Domain].zendesk.com/api/v2/users/search.json?query=role:end-user%20phone:*[[Number].Replace(&quot;+&quot;,&quot;%2B&quot;)]" RequestEncoding="UrlEncoded" RequestType="Get" ResponseType="Json">
        <Headers>
            <Value Key="X-Zendesk-Marketplace-Name">3CX</Value>
            <Value Key="X-Zendesk-Marketplace-Organization-Id">4088</Value>
            <Value Key="X-Zendesk-Marketplace-App-Id">351098</Value>
        </Headers>
      </Request>
 
Status
Not open for further replies.