Question

Lead creation endpoint shows meaningless error.

  • 2 February 2023
  • 1 reply
  • 20 views

Badge

When I try to submit a lead via API it returns cryptic response:

 

{"error":"Encountered form validation errors.","details":[{"field":".form_submission","error":"Expected key to be present"}]}

 

Since all required field are submitted and we don’t have “.form_submission” field in the form  I suspect that this endpoint needs some specific format, but I can’t find any info about it. 

 

How a lead creation POST request should look like?


1 reply

Userlevel 4
Badge

Hi @jarek,

 

Thanks for posting your question in the Community. In this particular instance, I think your best bet would be to contact our Support team so they they can take a deeper dive into the error appearing. 

You can contact support via live chat or email, as shown here.

I hope you manage to solve your issue :-)

Reply