This message sometimes comes when there is an error in the Export specification. I had mentioned a field name in the export specification which was not one of the columns being outputted by my query being exported. I got the same error although the error message is completely meaningless for the problem. Once I fixed the Export specification, the error went away.