[Solved] Cause: org.postgresql.util.PSQLException: ERROR: syntax error at end of input

### Cause: org.postgresql.util.PSQLException: ERROR: syntax error at end of input

The error is caused by empty userIds

 

Read More: