Errore PostGres --> ERROR: invalid input syntax for type integer: "1669)." LINE 6: WHERE "s"."species_code" = '1669).' LIMIT 1 ^