How to fix Invalid parameter value in PostgreSQL | DevErrors