Oracle Error Message
OCI-01862: wrong number of digits for this format item
Reason for the Error
The number of digits used for this format item is not equal to the number necessary for this format when specifying Format eXact (“FX”) for this item.
Solution
Fill out this format item with leading zeros to the number necessary for this format. (This is generally the number of characters in the format code–DD needs 2 digits, for example. The exceptions are HH24 & HH12, which both need 2, and J, which needs 9.)