Limitations on generated code

Are there any limitations for Generating Code? I have an issue, I get error with no additional information.

I have three nested test cases in one test case and one pretty large test case, and I can not export them both.