Description
The specified extension was invalid. This most commonly occurs when a text file with a .txt extension was expected.
Solution
Check the documentation to determine what the valid extensions for the operation are and ensure that you correctly specify the one to use.