Oracle Message LSX-00271 - invalid character ~c in hex-encoded binary

ERRORinvalid character ~c in hex-encoded binary
CAUSEData of hexBinary type has invalid characters.
ACTIONRemove illegal characters.