- Joined
- Sep 9, 2022
- Messages
- 10
- Reaction score
- 3
2022/09/14 10:55:09.796|26854|0014|Verb|CRM: Performing GET request 'http://192.168.101.21/api/search/+919962114644'.
2022/09/14 10:55:09.972|26854|0014|Erro|CRM: Exception executing contact lookup for number '+919962114644': System.Exception: Server returned a non successful status code - HTTPStatusCode=NotFound - Reason=Not Found - Content={"Result":"No Data not found"}
Added Json Responce in API, and 3CX started to send POST requests . Thank youFrom the logs:
When your CRM does the contact lookup and the contact is not found, it returns a 404 not found error. This is considered an API error, and the entire operation is aborted, so the contact creation is not executed.
In order to indicate that there are no records, your CRM must return a 200 OK response, and the JSON data should indicate that no record was found. A 404 Not Found HTTP status code is not appropriate for this. Such status code indicates that the REST API endpoint is not found, and not that the contact is not found. This is an incorrect design in the REST API of the CRM.
Again in Trouble. 3CX seeding POST requests but No Contacts created in CRM. and i tested with POSTMAN getting results and contacts created. . any clues?Added Json Responce in API, and 3CX started to send POST requests . Thank you
<Output Type="phonemobile" Passes="0" Value="[PhoneMobile]" />phonemobile is unknown. It should be PhoneMobile as explained here. The case is important. This causes that the returned record is discarded, because no phone field has the caller's number.Founded in 2005, when VoIP was an emerging technology, 3CX has gone on to establish itself as a global leader in business communications.