This error is thrown for multiple reasons. But most of the time it is due to empty groups in sketch. Make sure you don’t have empty groups/folders in your sketch file. If your file is too big, you can use a sketch plugin “Clean useless groups” to remove all those folders, and then use Axure plugin.