Error returned 'ctid' - Invalid input - 'js', required number