Hello,
It sounds like a known-fixed bug. Can you try to delete any empty track group (or any group without any reconstructed track, which means that nothing will be exported for that group). Max does not like empty groups.
Else, send us your max script and we'll tell you what's wrong.
Bye