Error Invalid Input Syntax For Integer Nan When Postgres Returns

Error Invalid Input Syntax For Integer Nan When Postgres Returns