OCI-03401
For TIME_BUCKET function, the specified datetime and the origin should be DATETIME or Epoch Time.
Cause
The specified datetime or the origin is neither a DATETIME nor an Epoch Time.
Action
Check the specified datetime (the first argument) and the origin (the third argument), and ensure they are either DATETIME or Epoch Time.