Error: 'There was an error reading from the pipe: The pipe has been ended. (109, 0x6d)' when trying to download items in the MSG format