Back to overview

Pipedrive API Request Failed at Jotform Prelim Info Provided source function

May 03 at 12:01am AWST

Resolved
May 03 at 12:01am AWST

Problem:
Something went wrong while sending request to Pipedrive API in Jotform Prelim Info Provided source function.

Resource: deals
Query: {"exactmatch":"true","term":"","limit":1,"customfields":"7c30081264659c314a2b9b05f39a462109cac9bc"}
Error: ServerError [ERRINVALIDINPUT]: Invalid input: "term" is not allowed to be empty

Solution:
The job title was blank. This caused the error and the double deal creation. Added a new checker in Segment Prelim info source function getDeal() (searches for existing deal and return it. If none, return null) to check if job title is blank. If job title is blank, use deal title instead.