BIP2461
Severity
20 : Error
Message
Error casting character string <insert_3> to a TIMESTAMP. State = <insert_1> <insert_2> '0' '
Explanation
The character string must have a the form 'TIMESTAMP 'yyyy-mm-dd hh&colon.mm&colon.ss[.f+]', or 'yyyy-mm-dd hh&colon.mm&colon.ss[.f+]' for it to be castable to a timestamp.
Response
Ensure that the string represents a valid time value.