Parameter types must be provided for null values via the 'types' field in query options

Yes I didn't know from where to set these parameters for fixing the error.