Query failed: ERROR: invalid input syntax for type bigint: "36687,"