The input value in timestamp is 1510722000000 . When I convert this to human readable format using online tools I get 11/16/49842 @ 8:00am (UTC) . Can this be the reason for parse failure ?
Perhaps those online tools assume it seconds from the epoch when your timestamp is actually milliseconds from the epoch.