An error occured on executing the query for the report definition - There was a problem getting a list: code: 0 SQLState: 22023 Message: The column index is out of range: 1, number of columns: 0. DatabaseException caused by prior exception: org.postgresql.util.PSQLException: The column index is out of range: 1, number of columns: 0. | SQL Code: 0 | SQL State: 22023
However hardcoding the value allows it to work sucessfully.
Any ideas how I can pass a parameter into a '' encapsulated string?