You cannot possibly get that error when exporting to PDF since the process does not involve distiller.
File > Export > Adobe PDF and pick print or interactive, or File > PDEF Presets > and pick one.
I'm having this issue as well. I have tried directly exporting and packaging the file and keep getting error messages. When I initially open InDesign the document has a distiller message error. I'm not sure what that means but I'm sure it's contributing to the problem. After trying Peter's work around it acted like it was exporting but at the last minute failed to. Other ideas/solutions welcome.