URGENT : AddANewFilter function with PHP

Good evening, I am trying to use the addANewFilter function.
I’m having trouble making the call.
Has anyone ever used this feature?
I use the “Pipedrive\Pipedrive” package

Thank you for your help

Hey @David.cohen
Can you share further details regarding the challenge that you are facing?
Would help if you share some snippets/error logs etc :slight_smile:

hello hem,
I’m using the Pipedrive/pipedrive PHP package and I’m trying to create a new filter with the AddANewFilter function.
The function returns an error, but if the two arrays of criteria are empty.

My filter works on simple elements like dates.

The error is that “conditions” must be of type array :frowning: