View Categories

Lead capture API debugging

< 1 min read

This is with reference to ticket #108564 – Pugdundee Safaris.


They were using Lead capture API to push leads from their website form into LSQ.


Problem statement-


The following error message was received for one lead-

image.png

On testing their code, there was no issue that was found and the integration was working well.


Further analysis proved that some leads were missing and not getting captured with the above error due to any special characters present in the test area section or anywhere in the form fields.


Solution-


Use the trim(htmlspecialchars($Message))
This way, all the special characters such as . and ‘ shall be ignored and the de-serializing object error can be avoided.

Scroll to Top