itemSearch/field sometimes returns 400

Hi I migrated this enpoint from v1 to v2 because the v1 was deprecated.
I see in my logs ( I have a lambda running in python which is the one calling the Pipedrive API ) that sometimes the following API call return 400 Client Error:

GET api/v2/itemSearch/field?term=auth0%7C663a6fe8cee31423a88bac76&entity_type=person&field=f34002fd8a2531414a728cab65ec717025b38183&limit=1

This is the reponse from Pipedrive:
{
“error”: “Bad Request”,
“message”: “Client Error”,
“statusCode”: 400
}

I checked and everything is correct. Doing this from Postman works and the following call in the lambda works too. I tried to call with wrong query params but the error is not the same.

Could someone help me?

Thanks,
Antonio

1 Like