There is an error in the API

An insufficient number of arguments were supplied for the procedure or function dbo.fnGetObjectGoalNames.