Wrong number of arguments to SQL function '%1'

Error code 2663
Probable cause

You have used a SQL function with the wrong number of parameters. This will likely cause an error when the statement is sent to the database server.