Missing or invalid format item.

#4000   Compile-time error or run-time catchable error

Missing or invalid format item.

Additional Information

The format string is 'X'.

Explanation

A format item of the expected type was not found in the given format string, or the format item was not the last character in the format string.