Run query: ERROR [07002] The # of IPD parameters 2 < 4 the # of parameter markers in unattended mode

Postgresql database query does not work, i get the below error
Run query: ERROR [07002] The # of IPD parameters 2 < 4 the # of parameter markers

this is happenig only when run in unattended mode

@Mohamed_Salman

Can you show the parameters how you are passing…

And unattended machine are there any different values that you are sending?

Is it possible to log the variables used before passing to query or can you run the same query hardcoded to check iand narrow down the issue

Cheers