CRM Integration is working OK but contact number does not exist.

Status
Not open for further replies.

Jijo_Raj

Forum User
Joined
Jun 21, 2020
Messages
63
Reaction score
2
Data is fetched but still it say contact number does not exist.

if i give a number that is not in my database, it says "JSON response is null". Then how will i insert new contacts?

1593696444430.png
1593696471097.png
 
The template can't deal with empty or null responses. You need a valid JSON without records. Then, the template can process the response, determine that there are no records, and then execute the CreateContactRecord scenario. But in your case the empty response causes an exception, and the execution doesn't move forward.
 
Can you please tell me how to provide this " Valid JSON without records"
 
For contacts that already in database, the lookup works perfectly. When inserting new contact i get the below error.

Server returned a non successful status code - HTTPStatusCode=InternalServerError - Reason=Internal Server Error - Content=

The contact is inserted in database, But Im not sure why this error comes.

Can you please see the attached template and help me sort this issue
 

Attachments

Can you please tell me how to provide this " Valid JSON without records"
For example the following:
JSON:
[]

For contacts that already in database, the lookup works perfectly. When inserting new contact i get the below error.

Server returned a non successful status code - HTTPStatusCode=InternalServerError - Reason=Internal Server Error - Content=

The contact is inserted in database, But Im not sure why this error comes.

Can you please see the attached template and help me sort this issue
This is your server returning an HTTP error. If the record is being inserted, but you are returning this error, this is something you need to check on your side.
 
Status
Not open for further replies.

Forum statistics

Threads
112,326
Messages
591,899
Members
165,479
Latest member
Senergia