Oracle Error ORA-13007: an invalid HEX character was detected

Oracle Error Message

ORA-13007: an invalid HEX character was detected

Reason for the Error

A character that is not in the range [0-9] or [A-F a-f] was detected.

Solution

Verify that all characters in a string are in [0-9] or [A-F a-f].